#D959F2#D959F2
#D959F2 is a light, highly saturated purple. Relative luminance 0.283; OKLCH L 68.7% C 0.239 H 320.7°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #D959F2 |
|---|---|
| RGB | rgb(217, 89, 242) |
| HSL | hsl(290, 85%, 65%) |
| HSV | hsv(290, 63%, 95%) |
| CMYK | cmyk(10.3%, 63.2%, 0%, 5.1%) |
| CIE-LAB | lab(60.17, 70.45, -54.20) |
| CIE-LCH | lch(60.17, 88.89, 322.43°) |
| OKLab | oklab(68.69% 0.185 -0.1512) |
| OKLCH | oklch(68.69% 0.239 320.7) |
| XYZ | xyz(48.2128, 28.3096, 86.9119) |
| Luminance | 0.2831 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 1.58
Bright Lilac
#C95EFB
ΔE00 3.31
Bright Lavender
#C760FF
ΔE00 4.00
Pinkish Purple
#D648D7
ΔE00 4.97
Pink Purple
#EF1DE7
ΔE00 5.94
Magenta
#FF00FF
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D959F2 #72F259
analogous
#8C59F2 #D959F2 #F259BF
triadic
#D959F2 #F2D959 #59F2D9
tetradic
#D959F2 #F28C59 #72F259 #59BFF2
square
#D959F2 #F28C59 #72F259 #59BFF2
split-complementary
#D959F2 #BFF259 #59F28C
monochromatic
#A40FC1 #CC20EE #D959F2 #E692F6 #F3CBFB
Accessibility & contrast
On white
3.15
#D959F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.66
#D959F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D959F2
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D959F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D959F2 | 1.00 | 3.15 | 6.66 | 6.66 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F88F7
Deuteranopia (green-blind)
#6896EE
Tritanopia (blue-blind)
#DB729E
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #d959f2; /* rgb */ color: rgb(217, 89, 242); /* oklch */ color: oklch(68.7% 0.239 320.7);
Tailwind
colors: {
custom: {
50: '#e890f7',
500: '#d959f2',
950: '#000000',
},
}SCSS
$custom: #d959f2; $custom-light: #e890f7; $custom-dark: #000000;
JSON
{
"hex": "#d959f2",
"rgb": {
"r": 217,
"g": 89,
"b": 242
},
"hsl": {
"h": 290.196,
"s": 85.475,
"l": 64.902
},
"oklch": {
"l": 0.68695,
"c": 0.23897,
"h": 320.7
},
"luminance": 0.28307
}Semantic roles & 50–950 ramp
primary
#D959F2
secondary
#C2EDB9
accent
#E20428
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D17
muted
#847E85