Skip to content
Vectorlight.net

#a21dc0

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

HEX
#a21dc0
RGB
162, 29, 192
HSL
288.96°, 73.76%, 43.33%
OKLCH
0.53 0.24 318.88
Names
—
Lists

Codes

FormatValue
HEX#a21dc0
RGBrgb(162 29 192)
HSLhsl(288.96 73.76% 43.33%)
OKLCHoklch(0.53 0.24 318.88)
CMYKcmyk(15.63% 84.9% 0% 24.71%)
Android#ffa21dc0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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