Skip to content
Vectorlight.net

#ac7dcd

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

HEX
#ac7dcd
RGB
172, 125, 205
HSL
275.25°, 44.44%, 64.71%
OKLCH
0.67 0.13 310.33
Names
—
Lists

Codes

FormatValue
HEX#ac7dcd
RGBrgb(172 125 205)
HSLhsl(275.25 44.44% 64.71%)
OKLCHoklch(0.67 0.13 310.33)
CMYKcmyk(16.1% 39.02% 0% 19.61%)
Android#ffac7dcd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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