Skip to content
Vectorlight.net

#aa5eff

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

HEX
#aa5eff
RGB
170, 94, 255
HSL
268.32°, 100%, 68.43%
OKLCH
0.65 0.23 302.02
Names
—
Lists

Codes

FormatValue
HEX#aa5eff
RGBrgb(170 94 255)
HSLhsl(268.32 100% 68.43%)
OKLCHoklch(0.65 0.23 302.02)
CMYKcmyk(33.33% 63.14% 0% 0%)
Android#ffaa5eff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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