Skip to content
Vectorlight.net

#d952ff

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

HEX
#d952ff
RGB
217, 82, 255
HSL
286.82°, 100%, 66.08%
OKLCH
0.69 0.26 317.92
Names
—
Lists

Codes

FormatValue
HEX#d952ff
RGBrgb(217 82 255)
HSLhsl(286.82 100% 66.08%)
OKLCHoklch(0.69 0.26 317.92)
CMYKcmyk(14.9% 67.84% 0% 0%)
Android#ffd952ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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