Skip to content
Vectorlight.net

#ac5eec

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

HEX
#ac5eec
RGB
172, 94, 236
HSL
272.96°, 78.89%, 64.71%
OKLCH
0.64 0.21 306.68
Names
—
Lists

Codes

FormatValue
HEX#ac5eec
RGBrgb(172 94 236)
HSLhsl(272.96 78.89% 64.71%)
OKLCHoklch(0.64 0.21 306.68)
CMYKcmyk(27.12% 60.17% 0% 7.45%)
Android#ffac5eec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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