Skip to content
Vectorlight.net

#654cbd

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

HEX
#654cbd
RGB
101, 76, 189
HSL
253.27°, 46.12%, 51.96%
OKLCH
0.5 0.17 289.02
Names
—
Lists

Codes

FormatValue
HEX#654cbd
RGBrgb(101 76 189)
HSLhsl(253.27 46.12% 51.96%)
OKLCHoklch(0.5 0.17 289.02)
CMYKcmyk(46.56% 59.79% 0% 25.88%)
Android#ff654cbd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #654cbd;
background-color: #654cbd;
bg-[#654cbd]