Skip to content
Vectorlight.net

#ac33ea

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

HEX
#ac33ea
RGB
172, 51, 234
HSL
279.67°, 81.33%, 55.88%
OKLCH
0.59 0.26 310.66
Names
—
Lists

Codes

FormatValue
HEX#ac33ea
RGBrgb(172 51 234)
HSLhsl(279.67 81.33% 55.88%)
OKLCHoklch(0.59 0.26 310.66)
CMYKcmyk(26.5% 78.21% 0% 8.24%)
Android#ffac33ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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