Skip to content
Vectorlight.net

#ac34dd

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

HEX
#ac34dd
RGB
172, 52, 221
HSL
282.6°, 71.31%, 53.53%
OKLCH
0.58 0.25 313.67
Names
—
Lists

Codes

FormatValue
HEX#ac34dd
RGBrgb(172 52 221)
HSLhsl(282.6 71.31% 53.53%)
OKLCHoklch(0.58 0.25 313.67)
CMYKcmyk(22.17% 76.47% 0% 13.33%)
Android#ffac34dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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