Skip to content
Vectorlight.net

#aa87de

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

HEX
#aa87de
RGB
170, 135, 222
HSL
264.14°, 56.86%, 70%
OKLCH
0.69 0.13 301.64
Names
—
Lists

Codes

FormatValue
HEX#aa87de
RGBrgb(170 135 222)
HSLhsl(264.14 56.86% 70%)
OKLCHoklch(0.69 0.13 301.64)
CMYKcmyk(23.42% 39.19% 0% 12.94%)
Android#ffaa87de

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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