Skip to content
Vectorlight.net

#ac74dc

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

HEX
#ac74dc
RGB
172, 116, 220
HSL
272.31°, 59.77%, 65.88%
OKLCH
0.66 0.16 307.45
Names
—
Lists

Codes

FormatValue
HEX#ac74dc
RGBrgb(172 116 220)
HSLhsl(272.31 59.77% 65.88%)
OKLCHoklch(0.66 0.16 307.45)
CMYKcmyk(21.82% 47.27% 0% 13.73%)
Android#ffac74dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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