Skip to content
Vectorlight.net

#a021e5

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

HEX
#a021e5
RGB
160, 33, 229
HSL
278.88°, 79.03%, 51.37%
OKLCH
0.56 0.26 308.75
Names
—
Lists

Codes

FormatValue
HEX#a021e5
RGBrgb(160 33 229)
HSLhsl(278.88 79.03% 51.37%)
OKLCHoklch(0.56 0.26 308.75)
CMYKcmyk(30.13% 85.59% 0% 10.2%)
Android#ffa021e5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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