Skip to content
Vectorlight.net

#aa5fd5

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

HEX
#aa5fd5
RGB
170, 95, 213
HSL
278.14°, 58.42%, 60.39%
OKLCH
0.62 0.18 311.56
Names
—
Lists

Codes

FormatValue
HEX#aa5fd5
RGBrgb(170 95 213)
HSLhsl(278.14 58.42% 60.39%)
OKLCHoklch(0.62 0.18 311.56)
CMYKcmyk(20.19% 55.4% 0% 16.47%)
Android#ffaa5fd5

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.95: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="#aa5fd5"
Gradient stop
<stop stop-color="#aa5fd5"/>
CSS variable + fill
:root { --c: #aa5fd5; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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