Skip to content
Vectorlight.net

#aa50ff

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

HEX
#aa50ff
RGB
170, 80, 255
HSL
270.86°, 100%, 65.69%
OKLCH
0.63 0.25 303.49
Names
—
Lists

Codes

FormatValue
HEX#aa50ff
RGBrgb(170 80 255)
HSLhsl(270.86 100% 65.69%)
OKLCHoklch(0.63 0.25 303.49)
CMYKcmyk(33.33% 68.63% 0% 0%)
Android#ffaa50ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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