Skip to content
Vectorlight.net

#aa34aa

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

HEX
#aa34aa
RGB
170, 52, 170
HSL
300°, 53.15%, 43.53%
OKLCH
0.54 0.2 327.92
Names
—
Lists

Codes

FormatValue
HEX#aa34aa
RGBrgb(170 52 170)
HSLhsl(300 53.15% 43.53%)
OKLCHoklch(0.54 0.2 327.92)
CMYKcmyk(0% 69.41% 0% 33.33%)
Android#ffaa34aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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