Skip to content
Vectorlight.net

#ac0dcd

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

HEX
#ac0dcd
RGB
172, 13, 205
HSL
289.69°, 88.07%, 42.75%
OKLCH
0.55 0.26 318.89
Names
—
Lists

Codes

FormatValue
HEX#ac0dcd
RGBrgb(172 13 205)
HSLhsl(289.69 88.07% 42.75%)
OKLCHoklch(0.55 0.26 318.89)
CMYKcmyk(16.1% 93.66% 0% 19.61%)
Android#ffac0dcd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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