#D882EB#D882EB
#D882EB is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.5% C 0.171 H 320.2°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #D882EB |
|---|---|
| RGB | rgb(216, 130, 235) |
| HSL | hsl(289, 72%, 72%) |
| HSV | hsv(289, 45%, 92%) |
| CMYK | cmyk(8.1%, 44.7%, 0%, 7.8%) |
| CIE-LAB | lab(66.95, 49.54, -39.64) |
| CIE-LCH | lch(66.95, 63.45, 321.34°) |
| OKLab | oklab(73.54% 0.1311 -0.1093) |
| OKLCH | oklch(73.54% 0.171 320.2) |
| XYZ | xyz(51.2951, 36.5642, 82.9367) |
| Luminance | 0.3656 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.81
Lavender Pink
#DD85D7
ΔE00 4.62
Purply Pink
#F075E6
ΔE00 4.89
Orchid
#DA70D6
ΔE00 4.99
Liliac
#C48EFD
ΔE00 6.35
Light Purple
#BF77F6
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D882EB #95EB82
analogous
#A482EB #D882EB #EB82CA
triadic
#D882EB #EBD882 #82EBD8
tetradic
#D882EB #EBA482 #95EB82 #82CAEB
square
#D882EB #EBA482 #95EB82 #82CAEB
split-complementary
#D882EB #CAEB82 #82EBA4
monochromatic
#B121D1 #C84DE3 #D882EB #E8B7F3 #F7E5FB
Accessibility & contrast
On white
2.53
#D882EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.31
#D882EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D882EB
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D882EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D882EB | 1.00 | 2.53 | 8.31 | 8.31 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#729DEF
Deuteranopia (green-blind)
#8AA6E8
Tritanopia (blue-blind)
#D98FAC
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #d882eb; /* rgb */ color: rgb(216, 130, 235); /* oklch */ color: oklch(73.5% 0.171 320.2);
Tailwind
colors: {
custom: {
50: '#e6a8f2',
500: '#d882eb',
950: '#000000',
},
}SCSS
$custom: #d882eb; $custom-light: #e6a8f2; $custom-dark: #000000;
JSON
{
"hex": "#d882eb",
"rgb": {
"r": 216,
"g": 130,
"b": 235
},
"hsl": {
"h": 289.143,
"s": 72.414,
"l": 71.569
},
"oklch": {
"l": 0.7354,
"c": 0.1707,
"h": 320.2
},
"luminance": 0.36562
}Semantic roles & 50–950 ramp
primary
#D882EB
secondary
#DCF2D7
accent
#D41134
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85