Skip to content
Vectorlight.net

#aa72e1

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

HEX
#aa72e1
RGB
170, 114, 225
HSL
270.27°, 64.91%, 66.47%
OKLCH
0.66 0.17 305.59
Names
—
Lists

Codes

FormatValue
HEX#aa72e1
RGBrgb(170 114 225)
HSLhsl(270.27 64.91% 66.47%)
OKLCHoklch(0.66 0.17 305.59)
CMYKcmyk(24.44% 49.33% 0% 11.76%)
Android#ffaa72e1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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