Skip to content
Vectorlight.net

#aa72eb

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

HEX
#aa72eb
RGB
170, 114, 235
HSL
267.77°, 75.16%, 68.43%
OKLCH
0.66 0.18 303.23
Names
—
Lists

Codes

FormatValue
HEX#aa72eb
RGBrgb(170 114 235)
HSLhsl(267.77 75.16% 68.43%)
OKLCHoklch(0.66 0.18 303.23)
CMYKcmyk(27.66% 51.49% 0% 7.84%)
Android#ffaa72eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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