Skip to content
Vectorlight.net

#ab32bc

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

HEX
#ab32bc
RGB
171, 50, 188
HSL
292.61°, 57.98%, 46.67%
OKLCH
0.56 0.22 322.45
Names
—
Lists

Codes

FormatValue
HEX#ab32bc
RGBrgb(171 50 188)
HSLhsl(292.61 57.98% 46.67%)
OKLCHoklch(0.56 0.22 322.45)
CMYKcmyk(9.04% 73.4% 0% 26.27%)
Android#ffab32bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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