Skip to content
Vectorlight.net

#aa20df

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

HEX
#aa20df
RGB
170, 32, 223
HSL
283.35°, 74.9%, 50%
OKLCH
0.57 0.26 313.37
Names
—
Lists

Codes

FormatValue
HEX#aa20df
RGBrgb(170 32 223)
HSLhsl(283.35 74.9% 50%)
OKLCHoklch(0.57 0.26 313.37)
CMYKcmyk(23.77% 85.65% 0% 12.55%)
Android#ffaa20df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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