Skip to content
Vectorlight.net

#aa50cc

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

HEX
#aa50cc
RGB
170, 80, 204
HSL
283.55°, 54.87%, 55.69%
OKLCH
0.6 0.2 315.63
Names
—
Lists

Codes

FormatValue
HEX#aa50cc
RGBrgb(170 80 204)
HSLhsl(283.55 54.87% 55.69%)
OKLCHoklch(0.6 0.2 315.63)
CMYKcmyk(16.67% 60.78% 0% 20%)
Android#ffaa50cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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