Skip to content
Vectorlight.net

#ac23dc

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

HEX
#ac23dc
RGB
172, 35, 220
HSL
284.43°, 72.55%, 50%
OKLCH
0.57 0.26 314.63
Names
—
Lists

Codes

FormatValue
HEX#ac23dc
RGBrgb(172 35 220)
HSLhsl(284.43 72.55% 50%)
OKLCHoklch(0.57 0.26 314.63)
CMYKcmyk(21.82% 84.09% 0% 13.73%)
Android#ffac23dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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