Skip to content
Vectorlight.net

#ac87ea

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

HEX
#ac87ea
RGB
172, 135, 234
HSL
262.42°, 70.21%, 72.35%
OKLCH
0.7 0.15 299.89
Names
—
Lists

Codes

FormatValue
HEX#ac87ea
RGBrgb(172 135 234)
HSLhsl(262.42 70.21% 72.35%)
OKLCHoklch(0.7 0.15 299.89)
CMYKcmyk(26.5% 42.31% 0% 8.24%)
Android#ffac87ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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