#D882F8#D882F8
#D882F8 is a light, vivid purple. Relative luminance 0.373; OKLCH L 74.2% C 0.184 H 316.3°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #D882F8 |
|---|---|
| RGB | rgb(216, 130, 248) |
| HSL | hsl(284, 89%, 74%) |
| HSV | hsv(284, 48%, 97%) |
| CMYK | cmyk(12.9%, 47.6%, 0%, 2.7%) |
| CIE-LAB | lab(67.53, 52.11, -45.87) |
| CIE-LCH | lch(67.53, 69.42, 318.65°) |
| OKLab | oklab(74.17% 0.1331 -0.1273) |
| OKLCH | oklch(74.17% 0.184 316.3) |
| XYZ | xyz(53.2423, 37.3431, 93.1920) |
| Luminance | 0.3734 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.98
Liliac
#C48EFD
ΔE00 5.03
Light Purple
#BF77F6
ΔE00 5.35
Purply Pink
#F075E6
ΔE00 6.19
Easter Purple
#C071FE
ΔE00 6.39
Orchid
#DA70D6
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D882F8 #A2F882
analogous
#9D82F8 #D882F8 #F882DD
triadic
#D882F8 #F8D882 #82F8D8
tetradic
#D882F8 #F89D82 #A2F882 #82DDF8
square
#D882F8 #F89D82 #A2F882 #82DDF8
split-complementary
#D882F8 #DDF882 #82F89D
monochromatic
#B40EF2 #C648F5 #D882F8 #EABCFB #F6E2FD
Accessibility & contrast
On white
2.48
#D882F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.47
#D882F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D882F8
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D882F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D882F8 | 1.00 | 2.48 | 8.47 | 8.47 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B9FFC
Deuteranopia (green-blind)
#84A7F5
Tritanopia (blue-blind)
#D793B2
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #d882f8; /* rgb */ color: rgb(216, 130, 248); /* oklch */ color: oklch(74.2% 0.184 316.3);
Tailwind
colors: {
custom: {
50: '#e6a9fb',
500: '#d882f8',
950: '#000000',
},
}SCSS
$custom: #d882f8; $custom-light: #e6a9fb; $custom-dark: #000000;
JSON
{
"hex": "#d882f8",
"rgb": {
"r": 216,
"g": 130,
"b": 248
},
"hsl": {
"h": 283.729,
"s": 89.394,
"l": 74.118
},
"oklch": {
"l": 0.74166,
"c": 0.18413,
"h": 316.3
},
"luminance": 0.37342
}Semantic roles & 50–950 ramp
primary
#D882F8
secondary
#DEF5D6
accent
#E6003E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85