Skip to content
Vectorlight.net

#aa7cc8

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

HEX
#aa7cc8
RGB
170, 124, 200
HSL
276.32°, 40.86%, 63.53%
OKLCH
0.66 0.12 311.19
Names
—
Lists

Codes

FormatValue
HEX#aa7cc8
RGBrgb(170 124 200)
HSLhsl(276.32 40.86% 63.53%)
OKLCHoklch(0.66 0.12 311.19)
CMYKcmyk(15% 38% 0% 21.57%)
Android#ffaa7cc8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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