Skip to content
Vectorlight.net

#ab0cbc

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

HEX
#ab0cbc
RGB
171, 12, 188
HSL
294.2°, 88%, 39.22%
OKLCH
0.53 0.25 323.23
Names
—
Lists

Codes

FormatValue
HEX#ab0cbc
RGBrgb(171 12 188)
HSLhsl(294.2 88% 39.22%)
OKLCHoklch(0.53 0.25 323.23)
CMYKcmyk(9.04% 93.62% 0% 26.27%)
Android#ffab0cbc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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