Skip to content
Vectorlight.net

#a021a9

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

HEX
#a021a9
RGB
160, 33, 169
HSL
296.03°, 67.33%, 39.61%
OKLCH
0.51 0.22 325.08
Names
—
Lists

Codes

FormatValue
HEX#a021a9
RGBrgb(160 33 169)
HSLhsl(296.03 67.33% 39.61%)
OKLCHoklch(0.51 0.22 325.08)
CMYKcmyk(5.33% 80.47% 0% 33.73%)
Android#ffa021a9

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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