Skip to content
Vectorlight.net

#d950f8

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

HEX
#d950f8
RGB
217, 80, 248
HSL
288.93°, 92.31%, 64.31%
OKLCH
0.68 0.26 319.63
Names
—
Lists

Codes

FormatValue
HEX#d950f8
RGBrgb(217 80 248)
HSLhsl(288.93 92.31% 64.31%)
OKLCHoklch(0.68 0.26 319.63)
CMYKcmyk(12.5% 67.74% 0% 2.75%)
Android#ffd950f8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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