#D882EC#D882EC
#D882EC is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.6% C 0.172 H 319.9°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #D882EC |
|---|---|
| RGB | rgb(216, 130, 236) |
| HSL | hsl(289, 74%, 72%) |
| HSV | hsv(289, 45%, 93%) |
| CMYK | cmyk(8.5%, 44.9%, 0%, 7.5%) |
| CIE-LAB | lab(66.99, 49.74, -40.12) |
| CIE-LCH | lch(66.99, 63.90, 321.11°) |
| OKLab | oklab(73.59% 0.1313 -0.1107) |
| OKLCH | oklch(73.59% 0.172 319.9) |
| XYZ | xyz(51.4400, 36.6222, 83.6997) |
| Luminance | 0.3662 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.87
Lavender Pink
#DD85D7
ΔE00 4.79
Purply Pink
#F075E6
ΔE00 4.98
Orchid
#DA70D6
ΔE00 5.10
Liliac
#C48EFD
ΔE00 6.23
Light Purple
#BF77F6
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D882EC #96EC82
analogous
#A382EC #D882EC #EC82CB
triadic
#D882EC #ECD882 #82ECD8
tetradic
#D882EC #ECA382 #96EC82 #82CBEC
square
#D882EC #ECA382 #96EC82 #82CBEC
split-complementary
#D882EC #CBEC82 #82ECA3
monochromatic
#B220D3 #C74DE4 #D882EC #E9B7F4 #F7E4FB
Accessibility & contrast
On white
2.52
#D882EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.32
#D882EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D882EC
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D882EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D882EC | 1.00 | 2.52 | 8.32 | 8.32 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#729DF0
Deuteranopia (green-blind)
#8AA6E9
Tritanopia (blue-blind)
#D990AC
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #d882ec; /* rgb */ color: rgb(216, 130, 236); /* oklch */ color: oklch(73.6% 0.172 319.9);
Tailwind
colors: {
custom: {
50: '#e6a8f2',
500: '#d882ec',
950: '#000000',
},
}SCSS
$custom: #d882ec; $custom-light: #e6a8f2; $custom-dark: #000000;
JSON
{
"hex": "#d882ec",
"rgb": {
"r": 216,
"g": 130,
"b": 236
},
"hsl": {
"h": 288.679,
"s": 73.611,
"l": 71.765
},
"oklch": {
"l": 0.73587,
"c": 0.17172,
"h": 319.9
},
"luminance": 0.3662
}Semantic roles & 50–950 ramp
primary
#D882EC
secondary
#DDF2D7
accent
#D61035
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85