Skip to content
Vectorlight.net

#aa5fdf

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

HEX
#aa5fdf
RGB
170, 95, 223
HSL
275.16°, 66.67%, 62.35%
OKLCH
0.63 0.19 308.9
Names
—
Lists

Codes

FormatValue
HEX#aa5fdf
RGBrgb(170 95 223)
HSLhsl(275.16 66.67% 62.35%)
OKLCHoklch(0.63 0.19 308.9)
CMYKcmyk(23.77% 57.4% 0% 12.55%)
Android#ffaa5fdf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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