Skip to content
Vectorlight.net

#aa98db

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

HEX
#aa98db
RGB
170, 152, 219
HSL
256.12°, 48.2%, 72.75%
OKLCH
0.72 0.1 296.2
Names
—
Lists

Codes

FormatValue
HEX#aa98db
RGBrgb(170 152 219)
HSLhsl(256.12 48.2% 72.75%)
OKLCHoklch(0.72 0.1 296.2)
CMYKcmyk(22.37% 30.59% 0% 14.12%)
Android#ffaa98db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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