Skip to content
Vectorlight.net

#ac17bb

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

HEX
#ac17bb
RGB
172, 23, 187
HSL
294.51°, 78.1%, 41.18%
OKLCH
0.54 0.24 323.7
Names
—
Lists

Codes

FormatValue
HEX#ac17bb
RGBrgb(172 23 187)
HSLhsl(294.51 78.1% 41.18%)
OKLCHoklch(0.54 0.24 323.7)
CMYKcmyk(8.02% 87.7% 0% 26.67%)
Android#ffac17bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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