Maroon Colors  ·  Color Library

Palettes / Colors / #8A2FFB

#8A2FFB — Vivid Purple

#8A2FFB 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 #8A2FFB 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.

#8A2FFB 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 #9EFB2D; it also sits naturally between #2D37FB and #F02DFB. In the palettes below you can see it working alongside real color combinations from our collection.

#8A2FFB · RGB 138, 47, 251

Download PNG swatch SVG

Color values

HEX#8A2FFB
RGB138, 47, 251
HSL267°, 96%, 58%
HSV267°, 81%, 98%
CMYK45%, 81%, 0%, 2%
XYZ28.91, 14.40, 92.52
Yxy14.40, 0.2128, 0.1060
CIE-Lab44.80, 74.18, -84.60
Hunter Lab37.95, 72.74, -124.67

RGB & CMYK percentages

Red 54% · Green 18% · Blue 98%

Cyan 45% · Magenta 81% · Yellow 0% · Key 2%

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

Previews

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

CSS code for #8A2FFB

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

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

Shades of #8A2FFB

#7C14FA#6C05EB#6104D2#5304B4#47039B#3C0382#2E0264#23024B#15012D#090014

Tints of #8A2FFB

#9541FB#A055FC#A864FC#B478FC#BF8CFD#CAA0FD#D5B4FD#DDC3FE#E9D7FE#F4EBFF

Tones of #8A2FFB

#8B3CEC#8D4ADE#8E59CF#9068C0#9177B1#9285A3

Color harmonies

Complementary — #9EFB2D:

Analogous:

Triadic:

Contrast & accessibility

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

Best text color on #8A2FFB: #FFFFFF.

Semi-transparent (opacity) text on #8A2FFB

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 #8A2FFB: ·

How #8A2FFB looks with color blindness

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

Protanopia · #6362CADeuteranopia · #686FBETritanopia · #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 #8A2FFB 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
Lucky Ruby Cascade
#5A10C0 · #8535EE · #9CED2B · #D8F19D
Dusty Ruby Mirage
#6C0E9A · #8C30EC · #69EB29 · #AFEF97

Similar colors

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

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

Browse neighbouring colors

← #8A2FFA  ·  #8A2FFC →

Frequently asked questions

What color is #8A2FFB?

#8A2FFB is Vivid Purple, a purple color (RGB 138, 47, 251). Its closest standard named color is BlueViolet.

What is the RGB and HSL of #8A2FFB?

#8A2FFB is RGB 138, 47, 251 — HSL 267°, 96%, 58% — CMYK 45%, 81%, 0%, 2%.

What colors go with #8A2FFB?

Its complement is #9EFB2D; analogous partners are #2D37FB and #F02DFB. It also appears in 6+ palettes in our collection.

Can I use #8A2FFB for text?

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