Skip to content
Vectorlight.net

#5b46ce

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

HEX
#5b46ce
RGB
91, 70, 206
HSL
249.26°, 58.12%, 54.12%
OKLCH
0.5 0.2 283.49
Names
—
Lists

Codes

FormatValue
HEX#5b46ce
RGBrgb(91 70 206)
HSLhsl(249.26 58.12% 54.12%)
OKLCHoklch(0.5 0.2 283.49)
CMYKcmyk(55.83% 66.02% 0% 19.22%)
Android#ff5b46ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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