#D962E1#D962E1
#D962E1 is a light, highly saturated purple. Relative luminance 0.289; OKLCH L 68.8% C 0.212 H 325.1°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #D962E1 |
|---|---|
| RGB | rgb(217, 98, 225) |
| HSL | hsl(296, 68%, 63%) |
| HSV | hsv(296, 56%, 88%) |
| CMYK | cmyk(3.6%, 56.4%, 0%, 11.8%) |
| CIE-LAB | lab(60.72, 63.51, -43.85) |
| CIE-LCH | lch(60.72, 77.18, 325.38°) |
| OKLab | oklab(68.81% 0.1736 -0.1212) |
| OKLCH | oklch(68.81% 0.212 325.1) |
| XYZ | xyz(46.5725, 28.9259, 74.3497) |
| Luminance | 0.2892 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.71
Heliotrope
#D94FF5
ΔE00 4.39
Pinkish Purple
#D648D7
ΔE00 4.79
Purpleish Pink
#DF4EC8
ΔE00 5.26
Light Magenta
#FA5FF7
ΔE00 5.38
Violet Pink
#FB5FFC
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D962E1 #6AE162
analogous
#9962E1 #D962E1 #E162AA
triadic
#D962E1 #E1D962 #62E1D9
tetradic
#D962E1 #E19962 #6AE162 #62AAE1
square
#D962E1 #E19962 #6AE162 #62AAE1
split-complementary
#D962E1 #AAE162 #62E199
monochromatic
#A020A8 #CD2FD7 #D962E1 #E595EB #F2C9F5
Accessibility & contrast
On white
3.10
#D962E1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.78
#D962E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D962E1
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D962E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D962E1 | 1.00 | 3.10 | 6.78 | 6.78 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5089E5
Deuteranopia (green-blind)
#7898DD
Tritanopia (blue-blind)
#DE7399
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #d962e1; /* rgb */ color: rgb(217, 98, 225); /* oklch */ color: oklch(68.8% 0.212 325.1);
Tailwind
colors: {
custom: {
50: '#e895eb',
500: '#d962e1',
950: '#000000',
},
}SCSS
$custom: #d962e1; $custom-light: #e895eb; $custom-dark: #000000;
JSON
{
"hex": "#d962e1",
"rgb": {
"r": 217,
"g": 98,
"b": 225
},
"hsl": {
"h": 296.22,
"s": 67.914,
"l": 63.333
},
"oklch": {
"l": 0.68813,
"c": 0.21174,
"h": 325.1
},
"luminance": 0.28923
}Semantic roles & 50–950 ramp
primary
#D962E1
secondary
#BCE6B9
accent
#D01621
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84