Skip to content
Vectorlight.net

#ab23dc

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

HEX
#ab23dc
RGB
171, 35, 220
HSL
284.11°, 72.55%, 50%
OKLCH
0.57 0.26 314.31
Names
—
Lists

Codes

FormatValue
HEX#ab23dc
RGBrgb(171 35 220)
HSLhsl(284.11 72.55% 50%)
OKLCHoklch(0.57 0.26 314.31)
CMYKcmyk(22.27% 84.09% 0% 13.73%)
Android#ffab23dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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