Skip to content
Vectorlight.net

#aa34cb

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

HEX
#aa34cb
RGB
170, 52, 203
HSL
286.89°, 59.22%, 50%
OKLCH
0.56 0.23 317.68
Names
—
Lists

Codes

FormatValue
HEX#aa34cb
RGBrgb(170 52 203)
HSLhsl(286.89 59.22% 50%)
OKLCHoklch(0.56 0.23 317.68)
CMYKcmyk(16.26% 74.38% 0% 20.39%)
Android#ffaa34cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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