Skip to content
Vectorlight.net

#d99cdc

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

HEX
#d99cdc
RGB
217, 156, 220
HSL
297.19°, 47.76%, 73.73%
OKLCH
0.77 0.11 325.01
Names
—
Lists

Codes

FormatValue
HEX#d99cdc
RGBrgb(217 156 220)
HSLhsl(297.19 47.76% 73.73%)
OKLCHoklch(0.77 0.11 325.01)
CMYKcmyk(1.36% 29.09% 0% 13.73%)
Android#ffd99cdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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