Skip to content
Vectorlight.net

#a654bc

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

HEX
#a654bc
RGB
166, 84, 188
HSL
287.31°, 43.7%, 53.33%
OKLCH
0.59 0.17 318.74
Names
—
Lists

Codes

FormatValue
HEX#a654bc
RGBrgb(166 84 188)
HSLhsl(287.31 43.7% 53.33%)
OKLCHoklch(0.59 0.17 318.74)
CMYKcmyk(11.7% 55.32% 0% 26.27%)
Android#ffa654bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.54:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.61:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#a654bc"
Gradient stop
<stop stop-color="#a654bc"/>
CSS variable + fill
:root { --c: #a654bc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #a654bc;
background-color: #a654bc;
bg-[#a654bc]