Skip to content
Vectorlight.net

#5845ab

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

HEX
#5845ab
RGB
88, 69, 171
HSL
251.18°, 42.5%, 47.06%
OKLCH
0.47 0.16 287.29
Names
—
Lists

Codes

FormatValue
HEX#5845ab
RGBrgb(88 69 171)
HSLhsl(251.18 42.5% 47.06%)
OKLCHoklch(0.47 0.16 287.29)
CMYKcmyk(48.54% 59.65% 0% 32.94%)
Android#ff5845ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5845ab;
background-color: #5845ab;
bg-[#5845ab]