Skip to content
Vectorlight.net

#ac52eb

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

HEX
#ac52eb
RGB
172, 82, 235
HSL
275.29°, 79.27%, 62.16%
OKLCH
0.62 0.23 308.19
Names
—
Lists

Codes

FormatValue
HEX#ac52eb
RGBrgb(172 82 235)
HSLhsl(275.29 79.27% 62.16%)
OKLCHoklch(0.62 0.23 308.19)
CMYKcmyk(26.81% 65.11% 0% 7.84%)
Android#ffac52eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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