Skip to content
Vectorlight.net

#aa02af

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

HEX
#aa02af
RGB
170, 2, 175
HSL
298.27°, 97.74%, 34.71%
OKLCH
0.52 0.24 326.81
Names
—
Lists

Codes

FormatValue
HEX#aa02af
RGBrgb(170 2 175)
HSLhsl(298.27 97.74% 34.71%)
OKLCHoklch(0.52 0.24 326.81)
CMYKcmyk(2.86% 98.86% 0% 31.37%)
Android#ffaa02af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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