Skip to content
Vectorlight.net

#a654bf

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

HEX
#a654bf
RGB
166, 84, 191
HSL
285.98°, 45.53%, 53.92%
OKLCH
0.59 0.18 317.73
Names
—
Lists

Codes

FormatValue
HEX#a654bf
RGBrgb(166 84 191)
HSLhsl(285.98 45.53% 53.92%)
OKLCHoklch(0.59 0.18 317.73)
CMYKcmyk(13.09% 56.02% 0% 25.1%)
Android#ffa654bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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