Skip to content
Vectorlight.net

#ac22de

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

HEX
#ac22de
RGB
172, 34, 222
HSL
284.04°, 74.02%, 50.2%
OKLCH
0.57 0.26 314.17
Names
—
Lists

Codes

FormatValue
HEX#ac22de
RGBrgb(172 34 222)
HSLhsl(284.04 74.02% 50.2%)
OKLCHoklch(0.57 0.26 314.17)
CMYKcmyk(22.52% 84.68% 0% 12.94%)
Android#ffac22de

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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