Skip to content
Vectorlight.net

#ac87cb

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

HEX
#ac87cb
RGB
172, 135, 203
HSL
272.65°, 39.53%, 66.27%
OKLCH
0.68 0.11 308.71
Names
—
Lists

Codes

FormatValue
HEX#ac87cb
RGBrgb(172 135 203)
HSLhsl(272.65 39.53% 66.27%)
OKLCHoklch(0.68 0.11 308.71)
CMYKcmyk(15.27% 33.5% 0% 20.39%)
Android#ffac87cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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