Skip to content
Vectorlight.net

#ac40db

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

HEX
#ac40db
RGB
172, 64, 219
HSL
281.81°, 68.28%, 55.49%
OKLCH
0.59 0.23 313.48
Names
—
Lists

Codes

FormatValue
HEX#ac40db
RGBrgb(172 64 219)
HSLhsl(281.81 68.28% 55.49%)
OKLCHoklch(0.59 0.23 313.48)
CMYKcmyk(21.46% 70.78% 0% 14.12%)
Android#ffac40db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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