Skip to content
Vectorlight.net

#d81ecd

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

HEX
#d81ecd
RGB
216, 30, 205
HSL
303.55°, 75.61%, 48.24%
OKLCH
0.62 0.27 331.15
Names
—
Lists

Codes

FormatValue
HEX#d81ecd
RGBrgb(216 30 205)
HSLhsl(303.55 75.61% 48.24%)
OKLCHoklch(0.62 0.27 331.15)
CMYKcmyk(0% 86.11% 5.09% 15.29%)
Android#ffd81ecd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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