Skip to content
Vectorlight.net

#ac29dc

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

HEX
#ac29dc
RGB
172, 41, 220
HSL
283.91°, 71.89%, 51.18%
OKLCH
0.57 0.25 314.41
Names
—
Lists

Codes

FormatValue
HEX#ac29dc
RGBrgb(172 41 220)
HSLhsl(283.91 71.89% 51.18%)
OKLCHoklch(0.57 0.25 314.41)
CMYKcmyk(21.82% 81.36% 0% 13.73%)
Android#ffac29dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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