Skip to content
Vectorlight.net

#ab15bc

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

HEX
#ab15bc
RGB
171, 21, 188
HSL
293.89°, 79.9%, 40.98%
OKLCH
0.54 0.24 323.12
Names
—
Lists

Codes

FormatValue
HEX#ab15bc
RGBrgb(171 21 188)
HSLhsl(293.89 79.9% 40.98%)
OKLCHoklch(0.54 0.24 323.12)
CMYKcmyk(9.04% 88.83% 0% 26.27%)
Android#ffab15bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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