Skip to content
Vectorlight.net

#a651bc

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

HEX
#a651bc
RGB
166, 81, 188
HSL
287.66°, 44.4%, 52.75%
OKLCH
0.58 0.18 318.97
Names
—
Lists

Codes

FormatValue
HEX#a651bc
RGBrgb(166 81 188)
HSLhsl(287.66 44.4% 52.75%)
OKLCHoklch(0.58 0.18 318.97)
CMYKcmyk(11.7% 56.91% 0% 26.27%)
Android#ffa651bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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