Skip to content
Vectorlight.net

#ac47ce

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

HEX
#ac47ce
RGB
172, 71, 206
HSL
284.89°, 57.94%, 54.31%
OKLCH
0.59 0.21 316.48
Names
—
Lists

Codes

FormatValue
HEX#ac47ce
RGBrgb(172 71 206)
HSLhsl(284.89 57.94% 54.31%)
OKLCHoklch(0.59 0.21 316.48)
CMYKcmyk(16.5% 65.53% 0% 19.22%)
Android#ffac47ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.61:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.54:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#ac47ce"
Gradient stop
<stop stop-color="#ac47ce"/>
CSS variable + fill
:root { --c: #ac47ce; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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