Skip to content
Vectorlight.net

#a021a8

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

HEX
#a021a8
RGB
160, 33, 168
HSL
296.44°, 67.16%, 39.41%
OKLCH
0.51 0.22 325.41
Names
—
Lists

Codes

FormatValue
HEX#a021a8
RGBrgb(160 33 168)
HSLhsl(296.44 67.16% 39.41%)
OKLCHoklch(0.51 0.22 325.41)
CMYKcmyk(4.76% 80.36% 0% 34.12%)
Android#ffa021a8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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