Skip to content
Vectorlight.net

#ab0dcb

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

HEX
#ab0dcb
RGB
171, 13, 203
HSL
289.89°, 87.96%, 42.35%
OKLCH
0.54 0.26 319.1
Names
—
Lists

Codes

FormatValue
HEX#ab0dcb
RGBrgb(171 13 203)
HSLhsl(289.89 87.96% 42.35%)
OKLCHoklch(0.54 0.26 319.1)
CMYKcmyk(15.76% 93.6% 0% 20.39%)
Android#ffab0dcb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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