#D950F7#D950F7
#D950F7 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 68.1% C 0.254 H 319.9°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #D950F7 |
|---|---|
| RGB | rgb(217, 80, 247) |
| HSL | hsl(289, 91%, 64%) |
| HSV | hsv(289, 68%, 97%) |
| CMYK | cmyk(12.1%, 67.6%, 0%, 3.1%) |
| CIE-LAB | lab(59.17, 74.93, -58.58) |
| CIE-LCH | lch(59.17, 95.11, 321.98°) |
| OKLab | oklab(68.06% 0.1945 -0.1639) |
| OKLCH | oklch(68.06% 0.254 319.9) |
| XYZ | xyz(48.2703, 27.2068, 90.6865) |
| Luminance | 0.2720 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 0.33
Bright Lilac
#C95EFB
ΔE00 3.10
Bright Lavender
#C760FF
ΔE00 3.79
Pinkish Purple
#D648D7
ΔE00 4.93
Pink Purple
#EF1DE7
ΔE00 5.40
Magenta
#FF00FF
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D950F7 #6EF750
analogous
#8650F7 #D950F7 #F750C1
triadic
#D950F7 #F7D950 #50F7D9
tetradic
#D950F7 #F78650 #6EF750 #50C1F7
square
#D950F7 #F78650 #6EF750 #50C1F7
split-complementary
#D950F7 #C1F750 #50F786
monochromatic
#A209C4 #CC15F4 #D950F7 #E68BFA #F2C5FC
Accessibility & contrast
On white
3.26
#D950F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.44
#D950F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D950F7
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D950F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D950F7 | 1.00 | 3.26 | 6.44 | 6.44 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0085FC
Deuteranopia (green-blind)
#5E93F3
Tritanopia (blue-blind)
#DA6F9E
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #d950f7; /* rgb */ color: rgb(217, 80, 247); /* oklch */ color: oklch(68.1% 0.254 319.9);
Tailwind
colors: {
custom: {
50: '#e98bfa',
500: '#d950f7',
950: '#000000',
},
}SCSS
$custom: #d950f7; $custom-light: #e98bfa; $custom-dark: #000000;
JSON
{
"hex": "#d950f7",
"rgb": {
"r": 217,
"g": 80,
"b": 247
},
"hsl": {
"h": 289.222,
"s": 91.257,
"l": 64.118
},
"oklch": {
"l": 0.68063,
"c": 0.25437,
"h": 319.9
},
"luminance": 0.27204
}Semantic roles & 50–950 ramp
primary
#D950F7
secondary
#BFEFB4
accent
#E60029
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#170D17
muted
#857E85