Skip to content
Vectorlight.net

#aa52e4

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

HEX
#aa52e4
RGB
170, 82, 228
HSL
276.16°, 73%, 60.78%
OKLCH
0.61 0.22 309.1
Names
—
Lists

Codes

FormatValue
HEX#aa52e4
RGBrgb(170 82 228)
HSLhsl(276.16 73% 60.78%)
OKLCHoklch(0.61 0.22 309.1)
CMYKcmyk(25.44% 64.04% 0% 10.59%)
Android#ffaa52e4

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.16:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.03:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#aa52e4"
Gradient stop
<stop stop-color="#aa52e4"/>
CSS variable + fill
:root { --c: #aa52e4; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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