Skip to content
Vectorlight.net

#ac5fdc

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

HEX
#ac5fdc
RGB
172, 95, 220
HSL
276.96°, 64.1%, 61.76%
OKLCH
0.63 0.19 310.47
Names
—
Lists

Codes

FormatValue
HEX#ac5fdc
RGBrgb(172 95 220)
HSLhsl(276.96 64.1% 61.76%)
OKLCHoklch(0.63 0.19 310.47)
CMYKcmyk(21.82% 56.82% 0% 13.73%)
Android#ffac5fdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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