Skip to content
Vectorlight.net

#ac45bb

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

HEX
#ac45bb
RGB
172, 69, 187
HSL
292.37°, 46.46%, 50.2%
OKLCH
0.57 0.2 322.39
Names
—
Lists

Codes

FormatValue
HEX#ac45bb
RGBrgb(172 69 187)
HSLhsl(292.37 46.46% 50.2%)
OKLCHoklch(0.57 0.2 322.39)
CMYKcmyk(8.02% 63.1% 0% 26.67%)
Android#ffac45bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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