Skip to content
Vectorlight.net

#aa9ccc

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

HEX
#aa9ccc
RGB
170, 156, 204
HSL
257.5°, 32%, 70.59%
OKLCH
0.72 0.07 297.99
Names
—
Lists

Codes

FormatValue
HEX#aa9ccc
RGBrgb(170 156 204)
HSLhsl(257.5 32% 70.59%)
OKLCHoklch(0.72 0.07 297.99)
CMYKcmyk(16.67% 23.53% 0% 20%)
Android#ffaa9ccc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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