Skip to content
Vectorlight.net

#aa0aa6

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

HEX
#aa0aa6
RGB
170, 10, 166
HSL
301.5°, 88.89%, 35.29%
OKLCH
0.52 0.23 329.6
Names
—
Lists

Codes

FormatValue
HEX#aa0aa6
RGBrgb(170 10 166)
HSLhsl(301.5 88.89% 35.29%)
OKLCHoklch(0.52 0.23 329.6)
CMYKcmyk(0% 94.12% 2.35% 33.33%)
Android#ffaa0aa6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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