Skip to content
Vectorlight.net

#d817ca

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

HEX
#d817ca
RGB
216, 23, 202
HSL
304.35°, 80.75%, 46.86%
OKLCH
0.62 0.27 331.96
Names
—
Lists

Codes

FormatValue
HEX#d817ca
RGBrgb(216 23 202)
HSLhsl(304.35 80.75% 46.86%)
OKLCHoklch(0.62 0.27 331.96)
CMYKcmyk(0% 89.35% 6.48% 15.29%)
Android#ffd817ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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