Skip to content
Vectorlight.net

#d881ea

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

HEX
#d881ea
RGB
216, 129, 234
HSL
289.71°, 71.43%, 71.18%
OKLCH
0.73 0.17 320.57
Names
—
Lists

Codes

FormatValue
HEX#d881ea
RGBrgb(216 129 234)
HSLhsl(289.71 71.43% 71.18%)
OKLCHoklch(0.73 0.17 320.57)
CMYKcmyk(7.69% 44.87% 0% 8.24%)
Android#ffd881ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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