Skip to content
Vectorlight.net

#8e35db

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

HEX
#8e35db
RGB
142, 53, 219
HSL
272.17°, 69.75%, 53.33%
OKLCH
0.54 0.24 303.6
Names
—
Lists

Codes

FormatValue
HEX#8e35db
RGBrgb(142 53 219)
HSLhsl(272.17 69.75% 53.33%)
OKLCHoklch(0.54 0.24 303.6)
CMYKcmyk(35.16% 75.8% 0% 14.12%)
Android#ff8e35db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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