Skip to content
Vectorlight.net

#d954ed

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

HEX
#d954ed
RGB
217, 84, 237
HSL
292.16°, 80.95%, 62.94%
OKLCH
0.68 0.24 322.21
Names
—
Lists

Codes

FormatValue
HEX#d954ed
RGBrgb(217 84 237)
HSLhsl(292.16 80.95% 62.94%)
OKLCHoklch(0.68 0.24 322.21)
CMYKcmyk(8.44% 64.56% 0% 7.06%)
Android#ffd954ed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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