#D950F2#D950F2
#D950F2 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.8% C 0.250 H 321.1°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #D950F2 |
|---|---|
| RGB | rgb(217, 80, 242) |
| HSL | hsl(291, 86%, 63%) |
| HSV | hsv(291, 67%, 95%) |
| CMYK | cmyk(10.3%, 66.9%, 0%, 5.1%) |
| CIE-LAB | lab(58.88, 74.04, -56.25) |
| CIE-LCH | lch(58.88, 92.98, 322.77°) |
| OKLab | oklab(67.77% 0.1947 -0.1571) |
| OKLCH | oklch(67.77% 0.25 321.1) |
| XYZ | xyz(47.5091, 26.9023, 86.6774) |
| Luminance | 0.2690 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 0.44
Bright Lilac
#C95EFB
ΔE00 3.52
Pinkish Purple
#D648D7
ΔE00 4.26
Bright Lavender
#C760FF
ΔE00 4.26
Pink Purple
#EF1DE7
ΔE00 4.99
Magenta
#FF00FF
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D950F2 #69F250
analogous
#8850F2 #D950F2 #F250BA
triadic
#D950F2 #F2D950 #50F2D9
tetradic
#D950F2 #F28850 #69F250 #50BAF2
square
#D950F2 #F28850 #69F250 #50BAF2
split-complementary
#D950F2 #BAF250 #50F288
monochromatic
#9F0EBA #CD17EE #D950F2 #E589F6 #F2C2FA
Accessibility & contrast
On white
3.29
#D950F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#D950F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D950F2
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D950F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D950F2 | 1.00 | 3.29 | 6.38 | 6.38 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1684F7
Deuteranopia (green-blind)
#6293EE
Tritanopia (blue-blind)
#DB6C9B
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #d950f2; /* rgb */ color: rgb(217, 80, 242); /* oklch */ color: oklch(67.8% 0.250 321.1);
Tailwind
colors: {
custom: {
50: '#e98bf7',
500: '#d950f2',
950: '#000000',
},
}SCSS
$custom: #d950f2; $custom-light: #e98bf7; $custom-dark: #000000;
JSON
{
"hex": "#d950f2",
"rgb": {
"r": 217,
"g": 80,
"b": 242
},
"hsl": {
"h": 290.741,
"s": 86.17,
"l": 63.137
},
"oklch": {
"l": 0.67771,
"c": 0.25017,
"h": 321.1
},
"luminance": 0.269
}Semantic roles & 50–950 ramp
primary
#D950F2
secondary
#BBECB2
accent
#E30325
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#170D17
muted
#857E85