Skip to content
Vectorlight.net

#ac2be1

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

HEX
#ac2be1
RGB
172, 43, 225
HSL
282.53°, 75.21%, 52.55%
OKLCH
0.58 0.26 313.12
Names
—
Lists

Codes

FormatValue
HEX#ac2be1
RGBrgb(172 43 225)
HSLhsl(282.53 75.21% 52.55%)
OKLCHoklch(0.58 0.26 313.12)
CMYKcmyk(23.56% 80.89% 0% 11.76%)
Android#ffac2be1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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