Skip to content
Vectorlight.net

#654bca

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

HEX
#654bca
RGB
101, 75, 202
HSL
252.28°, 54.51%, 54.31%
OKLCH
0.51 0.19 287.23
Names
—
Lists

Codes

FormatValue
HEX#654bca
RGBrgb(101 75 202)
HSLhsl(252.28 54.51% 54.31%)
OKLCHoklch(0.51 0.19 287.23)
CMYKcmyk(50% 62.87% 0% 20.78%)
Android#ff654bca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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