#D882EF#D882EF
#D882EF is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.7% C 0.175 H 318.9°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #D882EF |
|---|---|
| RGB | rgb(216, 130, 239) |
| HSL | hsl(287, 77%, 72%) |
| HSV | hsv(287, 46%, 94%) |
| CMYK | cmyk(9.6%, 45.6%, 0%, 6.3%) |
| CIE-LAB | lab(67.13, 50.32, -41.57) |
| CIE-LCH | lch(67.13, 65.27, 320.45°) |
| OKLab | oklab(73.73% 0.1318 -0.1149) |
| OKLCH | oklch(73.73% 0.175 318.9) |
| XYZ | xyz(51.8795, 36.7980, 86.0145) |
| Luminance | 0.3680 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.09
Purply Pink
#F075E6
ΔE00 5.24
Lavender Pink
#DD85D7
ΔE00 5.30
Orchid
#DA70D6
ΔE00 5.46
Liliac
#C48EFD
ΔE00 5.88
Light Purple
#BF77F6
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D882EF #99EF82
analogous
#A182EF #D882EF #EF82D0
triadic
#D882EF #EFD882 #82EFD8
tetradic
#D882EF #EFA182 #99EF82 #82D0EF
square
#D882EF #EFA182 #99EF82 #82D0EF
split-complementary
#D882EF #D0EF82 #82EFA1
monochromatic
#B21CDB #C74CE8 #D882EF #E9B8F6 #F7E4FC
Accessibility & contrast
On white
2.51
#D882EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.36
#D882EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D882EF
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D882EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D882EF | 1.00 | 2.51 | 8.36 | 8.36 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#709EF3
Deuteranopia (green-blind)
#88A6EC
Tritanopia (blue-blind)
#D991AD
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #d882ef; /* rgb */ color: rgb(216, 130, 239); /* oklch */ color: oklch(73.7% 0.175 318.9);
Tailwind
colors: {
custom: {
50: '#e6a8f4',
500: '#d882ef',
950: '#000000',
},
}SCSS
$custom: #d882ef; $custom-light: #e6a8f4; $custom-dark: #000000;
JSON
{
"hex": "#d882ef",
"rgb": {
"r": 216,
"g": 130,
"b": 239
},
"hsl": {
"h": 287.339,
"s": 77.305,
"l": 72.353
},
"oklch": {
"l": 0.73729,
"c": 0.17479,
"h": 318.9
},
"luminance": 0.36796
}Semantic roles & 50–950 ramp
primary
#D882EF
secondary
#DEF3D8
accent
#DA0C37
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85