Skip to content
Vectorlight.net

#ab00bc

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

HEX
#ab00bc
RGB
171, 0, 188
HSL
294.57°, 100%, 36.86%
OKLCH
0.53 0.25 323.33
Names
—
Lists

Codes

FormatValue
HEX#ab00bc
RGBrgb(171 0 188)
HSLhsl(294.57 100% 36.86%)
OKLCHoklch(0.53 0.25 323.33)
CMYKcmyk(9.04% 100% 0% 26.27%)
Android#ffab00bc

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="#ab00bc"
Gradient stop
<stop stop-color="#ab00bc"/>
CSS variable + fill
:root { --c: #ab00bc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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