Skip to content
Vectorlight.net

#d781da

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

HEX
#d781da
RGB
215, 129, 218
HSL
297.98°, 54.6%, 68.04%
OKLCH
0.73 0.15 325.83
Names
—
Lists

Codes

FormatValue
HEX#d781da
RGBrgb(215 129 218)
HSLhsl(297.98 54.6% 68.04%)
OKLCHoklch(0.73 0.15 325.83)
CMYKcmyk(1.38% 40.83% 0% 14.51%)
Android#ffd781da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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