Skip to content
Vectorlight.net

#5a06db

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

HEX
#5a06db
RGB
90, 6, 219
HSL
263.66°, 94.67%, 44.12%
OKLCH
0.45 0.26 286.57
Names
—
Lists

Codes

FormatValue
HEX#5a06db
RGBrgb(90 6 219)
HSLhsl(263.66 94.67% 44.12%)
OKLCHoklch(0.45 0.26 286.57)
CMYKcmyk(58.9% 97.26% 0% 14.12%)
Android#ff5a06db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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