Skip to content
Vectorlight.net

#5e2786

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

HEX
#5e2786
RGB
94, 39, 134
HSL
274.74°, 54.91%, 33.92%
OKLCH
0.4 0.15 307.31
Names
—
Lists

Codes

FormatValue
HEX#5e2786
RGBrgb(94 39 134)
HSLhsl(274.74 54.91% 33.92%)
OKLCHoklch(0.4 0.15 307.31)
CMYKcmyk(29.85% 70.9% 0% 47.45%)
Android#ff5e2786

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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