Skip to content
Vectorlight.net

#ac86ff

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

HEX
#ac86ff
RGB
172, 134, 255
HSL
258.84°, 100%, 76.27%
OKLCH
0.71 0.17 296.16
Names
—
Lists

Codes

FormatValue
HEX#ac86ff
RGBrgb(172 134 255)
HSLhsl(258.84 100% 76.27%)
OKLCHoklch(0.71 0.17 296.16)
CMYKcmyk(32.55% 47.45% 0% 0%)
Android#ffac86ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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