Skip to content
Vectorlight.net

#aa51de

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

HEX
#aa51de
RGB
170, 81, 222
HSL
277.87°, 68.12%, 59.41%
OKLCH
0.61 0.21 310.66
Names
—
Lists

Codes

FormatValue
HEX#aa51de
RGBrgb(170 81 222)
HSLhsl(277.87 68.12% 59.41%)
OKLCHoklch(0.61 0.21 310.66)
CMYKcmyk(23.42% 63.51% 0% 12.94%)
Android#ffaa51de

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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