Skip to content
Vectorlight.net

#d99aee

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

HEX
#d99aee
RGB
217, 154, 238
HSL
285°, 71.19%, 76.86%
OKLCH
0.78 0.13 317.44
Names
—
Lists

Codes

FormatValue
HEX#d99aee
RGBrgb(217 154 238)
HSLhsl(285 71.19% 76.86%)
OKLCHoklch(0.78 0.13 317.44)
CMYKcmyk(8.82% 35.29% 0% 6.67%)
Android#ffd99aee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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