Skip to content
Vectorlight.net

#5948da

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

HEX
#5948da
RGB
89, 72, 218
HSL
246.99°, 66.36%, 56.86%
OKLCH
0.51 0.21 281.04
Names
—
Lists

Codes

FormatValue
HEX#5948da
RGBrgb(89 72 218)
HSLhsl(246.99 66.36% 56.86%)
OKLCHoklch(0.51 0.21 281.04)
CMYKcmyk(59.17% 66.97% 0% 14.51%)
Android#ff5948da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5948da;
background-color: #5948da;
bg-[#5948da]