Skip to content
Vectorlight.net

#aa5fed

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

HEX
#aa5fed
RGB
170, 95, 237
HSL
271.69°, 79.78%, 65.1%
OKLCH
0.64 0.21 305.59
Names
—
Lists

Codes

FormatValue
HEX#aa5fed
RGBrgb(170 95 237)
HSLhsl(271.69 79.78% 65.1%)
OKLCHoklch(0.64 0.21 305.59)
CMYKcmyk(28.27% 59.92% 0% 7.06%)
Android#ffaa5fed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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