#D950ED#D950ED
#D950ED is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.5% C 0.246 H 322.3°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #D950ED |
|---|---|
| RGB | rgb(217, 80, 237) |
| HSL | hsl(292, 81%, 62%) |
| HSV | hsv(292, 66%, 93%) |
| CMYK | cmyk(8.4%, 66.2%, 0%, 7.1%) |
| CIE-LAB | lab(58.61, 73.15, -53.90) |
| CIE-LCH | lch(58.61, 90.86, 323.62°) |
| OKLab | oklab(67.48% 0.1948 -0.1503) |
| OKLCH | oklch(67.48% 0.246 322.3) |
| XYZ | xyz(46.7684, 26.6060, 82.7764) |
| Luminance | 0.2660 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 1.16
Pinkish Purple
#D648D7
ΔE00 3.59
Bright Lilac
#C95EFB
ΔE00 4.03
Pink Purple
#EF1DE7
ΔE00 4.63
Bright Lavender
#C760FF
ΔE00 4.80
Magenta
#FF00FF
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D950ED #64ED50
analogous
#8B50ED #D950ED #ED50B2
triadic
#D950ED #EDD950 #50EDD9
tetradic
#D950ED #ED8B50 #64ED50 #50B2ED
square
#D950ED #ED8B50 #64ED50 #50B2ED
split-complementary
#D950ED #B2ED50 #50ED8B
monochromatic
#9C12B0 #CD19E7 #D950ED #E587F3 #F1BFF8
Accessibility & contrast
On white
3.32
#D950ED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#D950ED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D950ED
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D950ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D950ED | 1.00 | 3.32 | 6.32 | 6.32 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2383F2
Deuteranopia (green-blind)
#6592E9
Tritanopia (blue-blind)
#DC6A98
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #d950ed; /* rgb */ color: rgb(217, 80, 237); /* oklch */ color: oklch(67.5% 0.246 322.3);
Tailwind
colors: {
custom: {
50: '#e88bf3',
500: '#d950ed',
950: '#000000',
},
}SCSS
$custom: #d950ed; $custom-light: #e88bf3; $custom-dark: #000000;
JSON
{
"hex": "#d950ed",
"rgb": {
"r": 217,
"g": 80,
"b": 237
},
"hsl": {
"h": 292.357,
"s": 81.347,
"l": 62.157
},
"oklch": {
"l": 0.67484,
"c": 0.246,
"h": 322.3
},
"luminance": 0.26603
}Semantic roles & 50–950 ramp
primary
#D950ED
secondary
#B7E9B0
accent
#DE0823
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D17
muted
#857E85