Skip to content
Vectorlight.net

#aa72cb

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

HEX
#aa72cb
RGB
170, 114, 203
HSL
277.75°, 46.11%, 62.16%
OKLCH
0.64 0.14 311.97
Names
—
Lists

Codes

FormatValue
HEX#aa72cb
RGBrgb(170 114 203)
HSLhsl(277.75 46.11% 62.16%)
OKLCHoklch(0.64 0.14 311.97)
CMYKcmyk(16.26% 43.84% 0% 20.39%)
Android#ffaa72cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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