Skip to content
Vectorlight.net

#8e2aab

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#8e2aab
RGB
142, 42, 171
HSL
286.51°, 60.56%, 41.76%
OKLCH
0.5 0.2 317.35
Names
—
Lists

Codes

FormatValue
HEX#8e2aab
RGBrgb(142 42 171)
HSLhsl(286.51 60.56% 41.76%)
OKLCHoklch(0.5 0.2 317.35)
CMYKcmyk(16.96% 75.44% 0% 32.94%)
Android#ff8e2aab

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
6.84:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.06:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#8e2aab"
Gradient stop
<stop stop-color="#8e2aab"/>
CSS variable + fill
:root { --c: #8e2aab; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #8e2aab;
background-color: #8e2aab;
bg-[#8e2aab]