Skip to content
Vectorlight.net

#d954ca

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

HEX
#d954ca
RGB
217, 84, 202
HSL
306.77°, 63.64%, 59.02%
OKLCH
0.66 0.21 332.39
Names
—
Lists

Codes

FormatValue
HEX#d954ca
RGBrgb(217 84 202)
HSLhsl(306.77 63.64% 59.02%)
OKLCHoklch(0.66 0.21 332.39)
CMYKcmyk(0% 61.29% 6.91% 14.9%)
Android#ffd954ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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