#D882F7#D882F7
#D882F7 is a light, vivid purple. Relative luminance 0.373; OKLCH L 74.1% C 0.183 H 316.5°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #D882F7 |
|---|---|
| RGB | rgb(216, 130, 247) |
| HSL | hsl(284, 88%, 74%) |
| HSV | hsv(284, 47%, 97%) |
| CMYK | cmyk(12.6%, 47.4%, 0%, 3.1%) |
| CIE-LAB | lab(67.49, 51.91, -45.39) |
| CIE-LCH | lch(67.49, 68.96, 318.83°) |
| OKLab | oklab(74.12% 0.1329 -0.1259) |
| OKLCH | oklch(74.12% 0.183 316.5) |
| XYZ | xyz(53.0876, 37.2812, 92.3771) |
| Luminance | 0.3728 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.87
Liliac
#C48EFD
ΔE00 5.11
Light Purple
#BF77F6
ΔE00 5.41
Purply Pink
#F075E6
ΔE00 6.08
Easter Purple
#C071FE
ΔE00 6.47
Orchid
#DA70D6
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D882F7 #A1F782
analogous
#9E82F7 #D882F7 #F782DB
triadic
#D882F7 #F7D882 #82F7D8
tetradic
#D882F7 #F79E82 #A1F782 #82DBF7
square
#D882F7 #F79E82 #A1F782 #82DBF7
split-complementary
#D882F7 #DBF782 #82F79E
monochromatic
#B40FEF #C648F3 #D882F7 #EABCFB #F6E2FD
Accessibility & contrast
On white
2.48
#D882F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.46
#D882F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D882F7
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D882F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D882F7 | 1.00 | 2.48 | 8.46 | 8.46 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C9FFB
Deuteranopia (green-blind)
#84A7F4
Tritanopia (blue-blind)
#D793B1
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #d882f7; /* rgb */ color: rgb(216, 130, 247); /* oklch */ color: oklch(74.1% 0.183 316.5);
Tailwind
colors: {
custom: {
50: '#e6a9fa',
500: '#d882f7',
950: '#000000',
},
}SCSS
$custom: #d882f7; $custom-light: #e6a9fa; $custom-dark: #000000;
JSON
{
"hex": "#d882f7",
"rgb": {
"r": 216,
"g": 130,
"b": 247
},
"hsl": {
"h": 284.103,
"s": 87.97,
"l": 73.922
},
"oklch": {
"l": 0.74117,
"c": 0.18308,
"h": 316.5
},
"luminance": 0.3728
}Semantic roles & 50–950 ramp
primary
#D882F7
secondary
#DEF5D6
accent
#E5013D
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85