Skip to content
Vectorlight.net

#ac23de

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

HEX
#ac23de
RGB
172, 35, 222
HSL
283.96°, 73.91%, 50.39%
OKLCH
0.57 0.26 314.14
Names
—
Lists

Codes

FormatValue
HEX#ac23de
RGBrgb(172 35 222)
HSLhsl(283.96 73.91% 50.39%)
OKLCHoklch(0.57 0.26 314.14)
CMYKcmyk(22.52% 84.23% 0% 12.94%)
Android#ffac23de

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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