Skip to content
Vectorlight.net

#ac2de6

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

HEX
#ac2de6
RGB
172, 45, 230
HSL
281.19°, 78.72%, 53.92%
OKLCH
0.58 0.26 311.87
Names
—
Lists

Codes

FormatValue
HEX#ac2de6
RGBrgb(172 45 230)
HSLhsl(281.19 78.72% 53.92%)
OKLCHoklch(0.58 0.26 311.87)
CMYKcmyk(25.22% 80.43% 0% 9.8%)
Android#ffac2de6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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