Skip to content
Vectorlight.net

#ac86cf

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

HEX
#ac86cf
RGB
172, 134, 207
HSL
271.23°, 43.2%, 66.86%
OKLCH
0.68 0.11 307.53
Names
—
Lists

Codes

FormatValue
HEX#ac86cf
RGBrgb(172 134 207)
HSLhsl(271.23 43.2% 66.86%)
OKLCHoklch(0.68 0.11 307.53)
CMYKcmyk(16.91% 35.27% 0% 18.82%)
Android#ffac86cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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