#D962F9#D962F9
#D962F9 is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 70.1% C 0.233 H 318.6°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #D962F9 |
|---|---|
| RGB | rgb(217, 98, 249) |
| HSL | hsl(287, 93%, 68%) |
| HSV | hsv(287, 61%, 98%) |
| CMYK | cmyk(12.9%, 60.6%, 0%, 2.4%) |
| CIE-LAB | lab(61.94, 67.91, -55.26) |
| CIE-LCH | lch(61.94, 87.55, 320.86°) |
| OKLab | oklab(70.1% 0.1749 -0.1544) |
| OKLCH | oklch(70.1% 0.233 318.6) |
| XYZ | xyz(50.0795, 30.3287, 92.8202) |
| Luminance | 0.3033 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.12
Bright Lilac
#C95EFB
ΔE00 3.21
Bright Lavender
#C760FF
ΔE00 3.62
Easter Purple
#C071FE
ΔE00 4.98
Light Purple
#BF77F6
ΔE00 5.48
Violet Pink
#FB5FFC
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D962F9 #82F962
analogous
#8D62F9 #D962F9 #F962CD
triadic
#D962F9 #F9D962 #62F9D9
tetradic
#D962F9 #F98D62 #82F962 #62CDF9
square
#D962F9 #F98D62 #82F962 #62CDF9
split-complementary
#D962F9 #CDF962 #62F98D
monochromatic
#AC08D8 #CB27F7 #D962F9 #E79DFB #F6D8FE
Accessibility & contrast
On white
2.97
#D962F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.07
#D962F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D962F9
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D962F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D962F9 | 1.00 | 2.97 | 7.07 | 7.07 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#388EFE
Deuteranopia (green-blind)
#6A9AF5
Tritanopia (blue-blind)
#D97BA5
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #d962f9; /* rgb */ color: rgb(217, 98, 249); /* oklch */ color: oklch(70.1% 0.233 318.6);
Tailwind
colors: {
custom: {
50: '#e895fc',
500: '#d962f9',
950: '#000000',
},
}SCSS
$custom: #d962f9; $custom-light: #e895fc; $custom-dark: #000000;
JSON
{
"hex": "#d962f9",
"rgb": {
"r": 217,
"g": 98,
"b": 249
},
"hsl": {
"h": 287.285,
"s": 92.638,
"l": 68.039
},
"oklch": {
"l": 0.70098,
"c": 0.23327,
"h": 318.6
},
"luminance": 0.30327
}Semantic roles & 50–950 ramp
primary
#D962F9
secondary
#CEF2C4
accent
#E60031
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85