#D992EC#D992EC
#D992EC is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.2% C 0.145 H 319.0°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #D992EC |
|---|---|
| RGB | rgb(217, 146, 236) |
| HSL | hsl(287, 70%, 75%) |
| HSV | hsv(287, 38%, 93%) |
| CMYK | cmyk(8.1%, 38.1%, 0%, 7.5%) |
| CIE-LAB | lab(70.43, 41.65, -34.76) |
| CIE-LCH | lch(70.43, 54.24, 320.15°) |
| OKLab | oklab(76.19% 0.1097 -0.0954) |
| OKLCH | oklch(76.19% 0.145 319) |
| XYZ | xyz(54.0325, 41.3672, 84.4790) |
| Luminance | 0.4137 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 4.82
Baby Purple
#CA9BF7
ΔE00 4.91
Violet (CSS)
#EE82EE
ΔE00 4.94
Lavender (survey)
#C79FEF
ΔE00 5.53
Lilac (survey)
#CEA2FD
ΔE00 5.89
Plum
#DDA0DD
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D992EC #A5EC92
analogous
#AC92EC #D992EC #EC92D2
triadic
#D992EC #ECD992 #92ECD9
tetradic
#D992EC #ECAC92 #A5EC92 #92D2EC
square
#D992EC #ECAC92 #A5EC92 #92D2EC
split-complementary
#D992EC #D2EC92 #92ECAC
monochromatic
#B52ADA #C75EE3 #D992EC #EBC6F5 #F6E5FA
Accessibility & contrast
On white
2.26
#D992EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.27
#D992EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D992EC
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D992EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D992EC | 1.00 | 2.26 | 9.27 | 9.27 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85A7EF
Deuteranopia (green-blind)
#97AFE9
Tritanopia (blue-blind)
#DA9DB4
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #d992ec; /* rgb */ color: rgb(217, 146, 236); /* oklch */ color: oklch(76.2% 0.145 319.0);
Tailwind
colors: {
custom: {
50: '#e6b3f2',
500: '#d992ec',
950: '#000000',
},
}SCSS
$custom: #d992ec; $custom-light: #e6b3f2; $custom-dark: #000000;
JSON
{
"hex": "#d992ec",
"rgb": {
"r": 217,
"g": 146,
"b": 236
},
"hsl": {
"h": 287.333,
"s": 70.313,
"l": 74.902
},
"oklch": {
"l": 0.7619,
"c": 0.14541,
"h": 319
},
"luminance": 0.41366
}Semantic roles & 50–950 ramp
primary
#D992EC
secondary
#DEF2D9
accent
#D2133C
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085