#DD87F7#DD87F7
#DD87F7 is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.4% C 0.177 H 318.0°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #DD87F7 |
|---|---|
| RGB | rgb(221, 135, 247) |
| HSL | hsl(286, 88%, 75%) |
| HSV | hsv(286, 45%, 97%) |
| CMYK | cmyk(10.5%, 45.3%, 0%, 3.1%) |
| CIE-LAB | lab(69.05, 50.73, -42.90) |
| CIE-LCH | lch(69.05, 66.43, 319.78°) |
| OKLab | oklab(75.41% 0.1319 -0.1186) |
| OKLCH | oklch(75.41% 0.177 318) |
| XYZ | xyz(55.2690, 39.4173, 92.6746) |
| Luminance | 0.3942 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.96
Liliac
#C48EFD
ΔE00 5.53
Purply Pink
#F075E6
ΔE00 5.74
Lavender Pink
#DD85D7
ΔE00 5.94
Baby Purple
#CA9BF7
ΔE00 6.26
Orchid
#DA70D6
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DD87F7 #A1F787
analogous
#A587F7 #DD87F7 #F787D9
triadic
#DD87F7 #F7DD87 #87F7DD
tetradic
#DD87F7 #F7A587 #A1F787 #87D9F7
square
#DD87F7 #F7A587 #A1F787 #87D9F7
split-complementary
#DD87F7 #D9F787 #87F7A5
monochromatic
#BC14EF #CD4EF3 #DD87F7 #EDC0FB #F7E2FD
Accessibility & contrast
On white
2.36
#DD87F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#DD87F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DD87F7
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DD87F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DD87F7 | 1.00 | 2.36 | 8.88 | 8.88 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74A3FB
Deuteranopia (green-blind)
#8CABF4
Tritanopia (blue-blind)
#DD96B3
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #dd87f7; /* rgb */ color: rgb(221, 135, 247); /* oklch */ color: oklch(75.4% 0.177 318.0);
Tailwind
colors: {
custom: {
50: '#e9acfa',
500: '#dd87f7',
950: '#000000',
},
}SCSS
$custom: #dd87f7; $custom-light: #e9acfa; $custom-dark: #000000;
JSON
{
"hex": "#dd87f7",
"rgb": {
"r": 221,
"g": 135,
"b": 247
},
"hsl": {
"h": 286.071,
"s": 87.5,
"l": 74.902
},
"oklch": {
"l": 0.75406,
"c": 0.17736,
"h": 318
},
"luminance": 0.39415
}Semantic roles & 50–950 ramp
primary
#DD87F7
secondary
#DDF5D6
accent
#E40136
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85