Skip to content
Vectorlight.net

#aa52af

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

HEX
#aa52af
RGB
170, 82, 175
HSL
296.77°, 36.76%, 50.39%
OKLCH
0.58 0.16 325.37
Names
—
Lists

Codes

FormatValue
HEX#aa52af
RGBrgb(170 82 175)
HSLhsl(296.77 36.76% 50.39%)
OKLCHoklch(0.58 0.16 325.37)
CMYKcmyk(2.86% 53.14% 0% 31.37%)
Android#ffaa52af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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