Skip to content
Vectorlight.net

#aa20bb

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

HEX
#aa20bb
RGB
170, 32, 187
HSL
293.42°, 70.78%, 42.94%
OKLCH
0.54 0.24 322.9
Names
—
Lists

Codes

FormatValue
HEX#aa20bb
RGBrgb(170 32 187)
HSLhsl(293.42 70.78% 42.94%)
OKLCHoklch(0.54 0.24 322.9)
CMYKcmyk(9.09% 82.89% 0% 26.67%)
Android#ffaa20bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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