Skip to content
Vectorlight.net

#ac81df

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

HEX
#ac81df
RGB
172, 129, 223
HSL
267.45°, 59.49%, 69.02%
OKLCH
0.68 0.14 304
Names
—
Lists

Codes

FormatValue
HEX#ac81df
RGBrgb(172 129 223)
HSLhsl(267.45 59.49% 69.02%)
OKLCHoklch(0.68 0.14 304)
CMYKcmyk(22.87% 42.15% 0% 12.55%)
Android#ffac81df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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