Skip to content
Vectorlight.net

#d99cd4

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

HEX
#d99cd4
RGB
217, 156, 212
HSL
304.92°, 44.53%, 73.14%
OKLCH
0.77 0.1 329.33
Names
—
Lists

Codes

FormatValue
HEX#d99cd4
RGBrgb(217 156 212)
HSLhsl(304.92 44.53% 73.14%)
OKLCHoklch(0.77 0.1 329.33)
CMYKcmyk(0% 28.11% 2.3% 14.9%)
Android#ffd99cd4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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