Skip to content
Vectorlight.net

#ab17cb

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

HEX
#ab17cb
RGB
171, 23, 203
HSL
289.33°, 79.65%, 44.31%
OKLCH
0.55 0.25 318.94
Names
—
Lists

Codes

FormatValue
HEX#ab17cb
RGBrgb(171 23 203)
HSLhsl(289.33 79.65% 44.31%)
OKLCHoklch(0.55 0.25 318.94)
CMYKcmyk(15.76% 88.67% 0% 20.39%)
Android#ffab17cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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