Skip to content
Vectorlight.net

#5838f6

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

HEX
#5838f6
RGB
88, 56, 246
HSL
250.11°, 91.35%, 59.22%
OKLCH
0.52 0.26 279.72
Names
—
Lists

Codes

FormatValue
HEX#5838f6
RGBrgb(88 56 246)
HSLhsl(250.11 91.35% 59.22%)
OKLCHoklch(0.52 0.26 279.72)
CMYKcmyk(64.23% 77.24% 0% 3.53%)
Android#ff5838f6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5838f6;
background-color: #5838f6;
bg-[#5838f6]