Skip to content
Vectorlight.net

#5a5dfd

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

HEX
#5a5dfd
RGB
90, 93, 253
HSL
238.9°, 97.6%, 67.25%
OKLCH
0.57 0.23 275.46
Names
—
Lists

Codes

FormatValue
HEX#5a5dfd
RGBrgb(90 93 253)
HSLhsl(238.9 97.6% 67.25%)
OKLCHoklch(0.57 0.23 275.46)
CMYKcmyk(64.43% 63.24% 0% 0.78%)
Android#ff5a5dfd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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