#D962E2#D962E2
#D962E2 is a light, highly saturated purple. Relative luminance 0.290; OKLCH L 68.9% C 0.213 H 324.8°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #D962E2 |
|---|---|
| RGB | rgb(217, 98, 226) |
| HSL | hsl(296, 69%, 64%) |
| HSV | hsv(296, 57%, 89%) |
| CMYK | cmyk(4%, 56.6%, 0%, 11.4%) |
| CIE-LAB | lab(60.76, 63.69, -44.33) |
| CIE-LCH | lch(60.76, 77.60, 325.16°) |
| OKLab | oklab(68.86% 0.1737 -0.1226) |
| OKLCH | oklch(68.86% 0.213 324.8) |
| XYZ | xyz(46.7093, 28.9806, 75.0703) |
| Luminance | 0.2898 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.82
Heliotrope
#D94FF5
ΔE00 4.27
Pinkish Purple
#D648D7
ΔE00 4.83
Light Magenta
#FA5FF7
ΔE00 5.34
Purpleish Pink
#DF4EC8
ΔE00 5.39
Bright Lilac
#C95EFB
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D962E2 #6BE262
analogous
#9962E2 #D962E2 #E262AB
triadic
#D962E2 #E2D962 #62E2D9
tetradic
#D962E2 #E29962 #6BE262 #62ABE2
square
#D962E2 #E29962 #6BE262 #62ABE2
split-complementary
#D962E2 #ABE262 #62E299
monochromatic
#A01FAA #CC2ED8 #D962E2 #E696EC #F2C9F5
Accessibility & contrast
On white
3.09
#D962E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.80
#D962E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D962E2
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D962E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D962E2 | 1.00 | 3.09 | 6.80 | 6.80 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F89E6
Deuteranopia (green-blind)
#7898DE
Tritanopia (blue-blind)
#DD7399
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #d962e2; /* rgb */ color: rgb(217, 98, 226); /* oklch */ color: oklch(68.9% 0.213 324.8);
Tailwind
colors: {
custom: {
50: '#e895eb',
500: '#d962e2',
950: '#000000',
},
}SCSS
$custom: #d962e2; $custom-light: #e895eb; $custom-dark: #000000;
JSON
{
"hex": "#d962e2",
"rgb": {
"r": 217,
"g": 98,
"b": 226
},
"hsl": {
"h": 295.781,
"s": 68.817,
"l": 63.529
},
"oklch": {
"l": 0.68864,
"c": 0.21262,
"h": 324.8
},
"luminance": 0.28978
}Semantic roles & 50–950 ramp
primary
#D962E2
secondary
#BCE7B9
accent
#D11522
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84