Skip to content
Vectorlight.net

#d822cd

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

HEX
#d822cd
RGB
216, 34, 205
HSL
303.63°, 72.8%, 49.02%
OKLCH
0.62 0.26 331.14
Names
—
Lists

Codes

FormatValue
HEX#d822cd
RGBrgb(216 34 205)
HSLhsl(303.63 72.8% 49.02%)
OKLCHoklch(0.62 0.26 331.14)
CMYKcmyk(0% 84.26% 5.09% 15.29%)
Android#ffd822cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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