Skip to content
Vectorlight.net

#ab02bb

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

HEX
#ab02bb
RGB
171, 2, 187
HSL
294.81°, 97.88%, 37.06%
OKLCH
0.53 0.25 323.59
Names
—
Lists

Codes

FormatValue
HEX#ab02bb
RGBrgb(171 2 187)
HSLhsl(294.81 97.88% 37.06%)
OKLCHoklch(0.53 0.25 323.59)
CMYKcmyk(8.56% 98.93% 0% 26.67%)
Android#ffab02bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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