Skip to content
Vectorlight.net

#aa42ae

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

HEX
#aa42ae
RGB
170, 66, 174
HSL
297.78°, 45%, 47.06%
OKLCH
0.56 0.19 326.22
Names
—
Lists

Codes

FormatValue
HEX#aa42ae
RGBrgb(170 66 174)
HSLhsl(297.78 45% 47.06%)
OKLCHoklch(0.56 0.19 326.22)
CMYKcmyk(2.3% 62.07% 0% 31.76%)
Android#ffaa42ae

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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