Skip to content
Vectorlight.net

#aa0d8a

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

HEX
#aa0d8a
RGB
170, 13, 138
HSL
312.23°, 85.79%, 35.88%
OKLCH
0.5 0.21 339.41
Names
—
Lists

Codes

FormatValue
HEX#aa0d8a
RGBrgb(170 13 138)
HSLhsl(312.23 85.79% 35.88%)
OKLCHoklch(0.5 0.21 339.41)
CMYKcmyk(0% 92.35% 18.82% 33.33%)
Android#ffaa0d8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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