Skip to content
Vectorlight.net

#ac2ee3

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

HEX
#ac2ee3
RGB
172, 46, 227
HSL
281.77°, 76.37%, 53.53%
OKLCH
0.58 0.26 312.52
Names
—
Lists

Codes

FormatValue
HEX#ac2ee3
RGBrgb(172 46 227)
HSLhsl(281.77 76.37% 53.53%)
OKLCHoklch(0.58 0.26 312.52)
CMYKcmyk(24.23% 79.74% 0% 10.98%)
Android#ffac2ee3

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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