Skip to content
Vectorlight.net

#5b49ce

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

HEX
#5b49ce
RGB
91, 73, 206
HSL
248.12°, 57.58%, 54.71%
OKLCH
0.5 0.2 282.93
Names
—
Lists

Codes

FormatValue
HEX#5b49ce
RGBrgb(91 73 206)
HSLhsl(248.12 57.58% 54.71%)
OKLCHoklch(0.5 0.2 282.93)
CMYKcmyk(55.83% 64.56% 0% 19.22%)
Android#ff5b49ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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