Skip to content
Vectorlight.net

#ab1cdf

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

HEX
#ab1cdf
RGB
171, 28, 223
HSL
284°, 77.69%, 49.22%
OKLCH
0.56 0.27 313.8
Names
—
Lists

Codes

FormatValue
HEX#ab1cdf
RGBrgb(171 28 223)
HSLhsl(284 77.69% 49.22%)
OKLCHoklch(0.56 0.27 313.8)
CMYKcmyk(23.32% 87.44% 0% 12.55%)
Android#ffab1cdf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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