Skip to content
Vectorlight.net

#8e59ce

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

HEX
#8e59ce
RGB
142, 89, 206
HSL
267.18°, 54.42%, 57.84%
OKLCH
0.58 0.18 302.07
Names
—
Lists

Codes

FormatValue
HEX#8e59ce
RGBrgb(142 89 206)
HSLhsl(267.18 54.42% 57.84%)
OKLCHoklch(0.58 0.18 302.07)
CMYKcmyk(31.07% 56.8% 0% 19.22%)
Android#ff8e59ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.69:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.47: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="#8e59ce"
Gradient stop
<stop stop-color="#8e59ce"/>
CSS variable + fill
:root { --c: #8e59ce; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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