Skip to content
Vectorlight.net

#ac64ec

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

HEX
#ac64ec
RGB
172, 100, 236
HSL
271.76°, 78.16%, 65.88%
OKLCH
0.64 0.2 305.93
Names
—
Lists

Codes

FormatValue
HEX#ac64ec
RGBrgb(172 100 236)
HSLhsl(271.76 78.16% 65.88%)
OKLCHoklch(0.64 0.2 305.93)
CMYKcmyk(27.12% 57.63% 0% 7.45%)
Android#ffac64ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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