Skip to content
Vectorlight.net

#ac52da

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

HEX
#ac52da
RGB
172, 82, 218
HSL
279.71°, 64.76%, 58.82%
OKLCH
0.61 0.21 312.34
Names
—
Lists

Codes

FormatValue
HEX#ac52da
RGBrgb(172 82 218)
HSLhsl(279.71 64.76% 58.82%)
OKLCHoklch(0.61 0.21 312.34)
CMYKcmyk(21.1% 62.39% 0% 14.51%)
Android#ffac52da

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.22:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.97:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#ac52da"
Gradient stop
<stop stop-color="#ac52da"/>
CSS variable + fill
:root { --c: #ac52da; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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