Skip to content
Vectorlight.net

#5a4bbf

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

HEX
#5a4bbf
RGB
90, 75, 191
HSL
247.76°, 47.54%, 52.16%
OKLCH
0.49 0.17 283.87
Names
—
Lists

Codes

FormatValue
HEX#5a4bbf
RGBrgb(90 75 191)
HSLhsl(247.76 47.54% 52.16%)
OKLCHoklch(0.49 0.17 283.87)
CMYKcmyk(52.88% 60.73% 0% 25.1%)
Android#ff5a4bbf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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