Skip to content
Vectorlight.net

#5e156c

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

HEX
#5e156c
RGB
94, 21, 108
HSL
290.34°, 67.44%, 25.29%
OKLCH
0.36 0.15 320.52
Names
—
Lists

Codes

FormatValue
HEX#5e156c
RGBrgb(94 21 108)
HSLhsl(290.34 67.44% 25.29%)
OKLCHoklch(0.36 0.15 320.52)
CMYKcmyk(12.96% 80.56% 0% 57.65%)
Android#ff5e156c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5e156c;
background-color: #5e156c;
bg-[#5e156c]