Skip to content
Vectorlight.net

#5837ea

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

HEX
#5837ea
RGB
88, 55, 234
HSL
251.06°, 81%, 56.67%
OKLCH
0.5 0.25 281.08
Names
—
Lists

Codes

FormatValue
HEX#5837ea
RGBrgb(88 55 234)
HSLhsl(251.06 81% 56.67%)
OKLCHoklch(0.5 0.25 281.08)
CMYKcmyk(62.39% 76.5% 0% 8.24%)
Android#ff5837ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5837ea;
background-color: #5837ea;
bg-[#5837ea]