Skip to content
Vectorlight.net

#ac97df

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

HEX
#ac97df
RGB
172, 151, 223
HSL
257.5°, 52.94%, 73.33%
OKLCH
0.72 0.1 297.1
Names
—
Lists

Codes

FormatValue
HEX#ac97df
RGBrgb(172 151 223)
HSLhsl(257.5 52.94% 73.33%)
OKLCHoklch(0.72 0.1 297.1)
CMYKcmyk(22.87% 32.29% 0% 12.55%)
Android#ffac97df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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