Skip to content
Vectorlight.net

#d381dd

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

HEX
#d381dd
RGB
211, 129, 221
HSL
293.48°, 57.5%, 68.63%
OKLCH
0.72 0.16 323.04
Names
—
Lists

Codes

FormatValue
HEX#d381dd
RGBrgb(211 129 221)
HSLhsl(293.48 57.5% 68.63%)
OKLCHoklch(0.72 0.16 323.04)
CMYKcmyk(4.52% 41.63% 0% 13.33%)
Android#ffd381dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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