Skip to content
Vectorlight.net

#5939ec

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

HEX
#5939ec
RGB
89, 57, 236
HSL
250.73°, 82.49%, 57.45%
OKLCH
0.51 0.25 281
Names
—
Lists

Codes

FormatValue
HEX#5939ec
RGBrgb(89 57 236)
HSLhsl(250.73 82.49% 57.45%)
OKLCHoklch(0.51 0.25 281)
CMYKcmyk(62.29% 75.85% 0% 7.45%)
Android#ff5939ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5939ec;
background-color: #5939ec;
bg-[#5939ec]