Skip to content
Vectorlight.net

#d96cdc

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

HEX
#d96cdc
RGB
217, 108, 220
HSL
298.39°, 61.54%, 64.31%
OKLCH
0.7 0.19 326.38
Names
—
Lists

Codes

FormatValue
HEX#d96cdc
RGBrgb(217 108 220)
HSLhsl(298.39 61.54% 64.31%)
OKLCHoklch(0.7 0.19 326.38)
CMYKcmyk(1.36% 50.91% 0% 13.73%)
Android#ffd96cdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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