Skip to content
Vectorlight.net

#ab1cdc

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

HEX
#ab1cdc
RGB
171, 28, 220
HSL
284.69°, 77.42%, 48.63%
OKLCH
0.56 0.26 314.52
Names
—
Lists

Codes

FormatValue
HEX#ab1cdc
RGBrgb(171 28 220)
HSLhsl(284.69 77.42% 48.63%)
OKLCHoklch(0.56 0.26 314.52)
CMYKcmyk(22.27% 87.27% 0% 13.73%)
Android#ffab1cdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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