Skip to content
Vectorlight.net

#d818cd

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

HEX
#d818cd
RGB
216, 24, 205
HSL
303.44°, 80%, 47.06%
OKLCH
0.62 0.27 331.15
Names
—
Lists

Codes

FormatValue
HEX#d818cd
RGBrgb(216 24 205)
HSLhsl(303.44 80% 47.06%)
OKLCHoklch(0.62 0.27 331.15)
CMYKcmyk(0% 88.89% 5.09% 15.29%)
Android#ffd818cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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