Skip to content
Vectorlight.net

#aa5feb

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

HEX
#aa5feb
RGB
170, 95, 235
HSL
272.14°, 77.78%, 64.71%
OKLCH
0.63 0.21 306.04
Names
—
Lists

Codes

FormatValue
HEX#aa5feb
RGBrgb(170 95 235)
HSLhsl(272.14 77.78% 64.71%)
OKLCHoklch(0.63 0.21 306.04)
CMYKcmyk(27.66% 59.57% 0% 7.84%)
Android#ffaa5feb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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