Skip to content
Vectorlight.net

#aa55ff

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

HEX
#aa55ff
RGB
170, 85, 255
HSL
270°, 100%, 66.67%
OKLCH
0.63 0.24 303
Names
—
Lists

Codes

FormatValue
HEX#aa55ff
RGBrgb(170 85 255)
HSLhsl(270 100% 66.67%)
OKLCHoklch(0.63 0.24 303)
CMYKcmyk(33.33% 66.67% 0% 0%)
Android#ffaa55ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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