Maroon Colors  ·  Color Library

Palettes / Colors / #8A2EFC

#8A2EFC — Vivid Purple

#8A2EFC is a purple color we call Vivid Purple, closest to the named color BlueViolet (#8A2BE2). It belongs to the purple family.

Color name

Closest CSS keyword: blueviolet (#8A2BE2) — not an exact match. CSS blueviolet gives you #8A2BE2, a different color; use #8A2EFC when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#8A2EFC is a cool purple color associated with luxury, creativity and mystery. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #9EFC2C; it also sits naturally between #2C36FC and #F12CFC. In the palettes below you can see it working alongside real color combinations from our collection.

#8A2EFC · RGB 138, 46, 252

Download PNG swatch SVG

Color values

HEX#8A2EFC
RGB138, 46, 252
HSL267°, 97%, 58%
HSV267°, 82%, 99%
CMYK45%, 82%, 0%, 1%
XYZ29.03, 14.39, 93.34
Yxy14.39, 0.2123, 0.1052
CIE-Lab44.78, 74.73, -85.20
Hunter Lab37.93, 73.42, -126.10

RGB & CMYK percentages

Red 54% · Green 18% · Blue 99%

Cyan 45% · Magenta 82% · Yellow 0% · Key 1%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #8A2EFC on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #8A2EFC on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #8A2EFC

.text { color: #8A2EFC; }
.background { background-color: #8A2EFC; }
.border { border: 3px solid #8A2EFC; }
.text-rgb { color: rgb(138, 46, 252); }
.text-hsl { color: hsl(267, 97%, 58%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #8A2EFC; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(138, 46, 252, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #8A2EFC; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(138, 46, 252, 0.8); }

HTML: <p style="color:#8A2EFC">Text here</p> · <div style="background-color:#8A2EFC">Div content here</div>

Shades of #8A2EFC

#7C13FB#6C04EC#6103D3#5303B5#47029C#3C0283#2E0264#23014B#15012D#090014

Tints of #8A2EFC

#9540FC#A054FC#A863FD#B377FD#BF8BFD#CAA0FE#D5B4FE#DDC3FE#E9D7FE#F4EBFF

Tones of #8A2EFC

#8B3BED#8D4ADE#8E59CF#8F67C1#9176B2#9285A3

Color harmonies

Complementary — #9EFC2C:

Analogous:

Triadic:

Contrast & accessibility

Against white text5.42:1 AA
Against black text3.88:1 AA large only

Best text color on #8A2EFC: #FFFFFF.

Semi-transparent (opacity) text on #8A2EFC

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #8A2EFC: ·

How #8A2EFC looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #6261CADeuteranopia · #686EBETritanopia · #85A39A

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind purple 600 · #9333EATailwind violet 600 · #7C3AEDTailwind violet 500 · #8B5CF6

Palettes with a similar color

These palettes use a close neighbour of #8A2EFC rather than the exact color:

Dreamy Lagoon
#0D1A1F · #8826F8 · #ABFC1D · #FD0D1D
Honey Ruby Saffron
#16090E · #7F2EF7 · #27F7A0 · #80FD1E
Golden Ruby Garden
#0C240E · #8036FA · #41DCFF · #4C2DFF
Palette 7f27ff
#7F27FF · #9F70FD · #FDBF60 · #FF8911
Dusty Ruby Mirage
#6C0E9A · #8C30EC · #69EB29 · #AFEF97
Lucky Ruby Cascade
#5A10C0 · #8535EE · #9CED2B · #D8F19D

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#8826F8#7F2EF7#8036FA#7F27FF#8C30EC#8535EE#9B2AFE#8F1DFB#9B2AF7#993DFA#9D39F9#9929EA

Browse neighbouring colors

← #8A2EFB  ·  #8A2EFD →

Frequently asked questions

What color is #8A2EFC?

#8A2EFC is Vivid Purple, a purple color (RGB 138, 46, 252). Its closest standard named color is BlueViolet.

What is the RGB and HSL of #8A2EFC?

#8A2EFC is RGB 138, 46, 252 — HSL 267°, 97%, 58% — CMYK 45%, 82%, 0%, 1%.

What colors go with #8A2EFC?

Its complement is #9EFC2C; analogous partners are #2C36FC and #F12CFC. It also appears in 6+ palettes in our collection.

Can I use #8A2EFC for text?

White text on #8A2EFC has a contrast ratio of 5.42:1 (passes WCAG AA); black text gives 3.88:1.