#D882FC#D882FC
#D882FC is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.4% C 0.188 H 315.2°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #D882FC |
|---|---|
| RGB | rgb(216, 130, 252) |
| HSL | hsl(282, 95%, 75%) |
| HSV | hsv(282, 48%, 99%) |
| CMYK | cmyk(14.3%, 48.4%, 0%, 1.2%) |
| CIE-LAB | lab(67.72, 52.92, -47.76) |
| CIE-LCH | lch(67.72, 71.29, 317.93°) |
| OKLab | oklab(74.37% 0.1336 -0.1328) |
| OKLCH | oklch(74.37% 0.188 315.2) |
| XYZ | xyz(53.8695, 37.5940, 96.4952) |
| Luminance | 0.3759 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Liliac
#C48EFD
ΔE00 4.78
Light Purple
#BF77F6
ΔE00 5.15
Violet (CSS)
#EE82EE
ΔE00 5.44
Easter Purple
#C071FE
ΔE00 6.10
Purply Pink
#F075E6
ΔE00 6.66
Baby Purple
#CA9BF7
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D882FC #A6FC82
analogous
#9B82FC #D882FC #FC82E3
triadic
#D882FC #FCD882 #82FCD8
tetradic
#D882FC #FC9B82 #A6FC82 #82E3FC
square
#D882FC #FC9B82 #A6FC82 #82E3FC
split-complementary
#D882FC #E3FC82 #82FC9B
monochromatic
#B30AF9 #C546FB #D882FC #EBBEFD #F6E1FE
Accessibility & contrast
On white
2.47
#D882FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.52
#D882FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D882FC
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D882FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D882FC | 1.00 | 2.47 | 8.52 | 8.52 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#82A7F9
Tritanopia (blue-blind)
#D694B3
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #d882fc; /* rgb */ color: rgb(216, 130, 252); /* oklch */ color: oklch(74.4% 0.188 315.2);
Tailwind
colors: {
custom: {
50: '#e6a9fe',
500: '#d882fc',
950: '#000000',
},
}SCSS
$custom: #d882fc; $custom-light: #e6a9fe; $custom-dark: #000000;
JSON
{
"hex": "#d882fc",
"rgb": {
"r": 216,
"g": 130,
"b": 252
},
"hsl": {
"h": 282.295,
"s": 95.313,
"l": 74.902
},
"oklch": {
"l": 0.74366,
"c": 0.18833,
"h": 315.2
},
"luminance": 0.37592
}Semantic roles & 50–950 ramp
primary
#D882FC
secondary
#DFF7D4
accent
#E60044
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86