Skip to content
Vectorlight.net

#ab0cd5

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

HEX
#ab0cd5
RGB
171, 12, 213
HSL
287.46°, 89.33%, 44.12%
OKLCH
0.55 0.26 316.56
Names
—
Lists

Codes

FormatValue
HEX#ab0cd5
RGBrgb(171 12 213)
HSLhsl(287.46 89.33% 44.12%)
OKLCHoklch(0.55 0.26 316.56)
CMYKcmyk(19.72% 94.37% 0% 16.47%)
Android#ffab0cd5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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