Skip to content
Vectorlight.net

#ac66ee

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

HEX
#ac66ee
RGB
172, 102, 238
HSL
270.88°, 80%, 66.67%
OKLCH
0.65 0.2 305.22
Names
—
Lists

Codes

FormatValue
HEX#ac66ee
RGBrgb(172 102 238)
HSLhsl(270.88 80% 66.67%)
OKLCHoklch(0.65 0.2 305.22)
CMYKcmyk(27.73% 57.14% 0% 6.67%)
Android#ffac66ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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