Skip to content
Vectorlight.net

#ac89cc

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

HEX
#ac89cc
RGB
172, 137, 204
HSL
271.34°, 39.64%, 66.86%
OKLCH
0.69 0.1 307.78
Names
—
Lists

Codes

FormatValue
HEX#ac89cc
RGBrgb(172 137 204)
HSLhsl(271.34 39.64% 66.86%)
OKLCHoklch(0.69 0.1 307.78)
CMYKcmyk(15.69% 32.84% 0% 20%)
Android#ffac89cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.91:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.20:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#ac89cc"
Gradient stop
<stop stop-color="#ac89cc"/>
CSS variable + fill
:root { --c: #ac89cc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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