#D962EC#D962EC
#D962EC is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.4% C 0.221 H 321.9°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #D962EC |
|---|---|
| RGB | rgb(217, 98, 236) |
| HSL | hsl(292, 78%, 65%) |
| HSV | hsv(292, 58%, 93%) |
| CMYK | cmyk(8.1%, 58.5%, 0%, 7.5%) |
| CIE-LAB | lab(61.26, 65.49, -49.13) |
| CIE-LCH | lch(61.26, 81.87, 323.12°) |
| OKLab | oklab(69.39% 0.1744 -0.1365) |
| OKLCH | oklch(69.39% 0.221 321.9) |
| XYZ | xyz(48.1217, 29.5456, 82.5087) |
| Luminance | 0.2954 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.35
Bright Lilac
#C95EFB
ΔE00 4.35
Bright Lavender
#C760FF
ΔE00 4.95
Orchid
#DA70D6
ΔE00 5.00
Light Magenta
#FA5FF7
ΔE00 5.20
Violet Pink
#FB5FFC
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D962EC #75EC62
analogous
#9462EC #D962EC #EC62BA
triadic
#D962EC #ECD962 #62ECD9
tetradic
#D962EC #EC9462 #75EC62 #62BAEC
square
#D962EC #EC9462 #75EC62 #62BAEC
split-complementary
#D962EC #BAEC62 #62EC94
monochromatic
#A617BD #CC2BE5 #D962EC #E699F3 #F3CFF9
Accessibility & contrast
On white
3.04
#D962EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.91
#D962EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D962EC
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D962EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D962EC | 1.00 | 3.04 | 6.91 | 6.91 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#478BF0
Deuteranopia (green-blind)
#7298E8
Tritanopia (blue-blind)
#DB779E
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #d962ec; /* rgb */ color: rgb(217, 98, 236); /* oklch */ color: oklch(69.4% 0.221 321.9);
Tailwind
colors: {
custom: {
50: '#e895f3',
500: '#d962ec',
950: '#000000',
},
}SCSS
$custom: #d962ec; $custom-light: #e895f3; $custom-dark: #000000;
JSON
{
"hex": "#d962ec",
"rgb": {
"r": 217,
"g": 98,
"b": 236
},
"hsl": {
"h": 291.739,
"s": 78.409,
"l": 65.49
},
"oklch": {
"l": 0.69387,
"c": 0.22149,
"h": 321.9
},
"luminance": 0.29543
}Semantic roles & 50–950 ramp
primary
#D962EC
secondary
#C4ECBE
accent
#DB0B27
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85