#DF87F3#DF87F3
#DF87F3 is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.4% C 0.174 H 320.0°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #DF87F3 |
|---|---|
| RGB | rgb(223, 135, 243) |
| HSL | hsl(289, 82%, 74%) |
| HSV | hsv(289, 44%, 95%) |
| CMYK | cmyk(8.2%, 44.4%, 0%, 4.7%) |
| CIE-LAB | lab(69.10, 50.51, -40.61) |
| CIE-LCH | lch(69.10, 64.81, 321.20°) |
| OKLab | oklab(75.44% 0.1335 -0.112) |
| OKLCH | oklch(75.44% 0.174 320) |
| XYZ | xyz(55.2710, 39.4890, 89.4873) |
| Luminance | 0.3949 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.17
Purply Pink
#F075E6
ΔE00 5.07
Lavender Pink
#DD85D7
ΔE00 5.10
Liliac
#C48EFD
ΔE00 6.28
Orchid
#DA70D6
ΔE00 6.33
Baby Purple
#CA9BF7
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DF87F3 #9BF387
analogous
#A987F3 #DF87F3 #F387D1
triadic
#DF87F3 #F3DF87 #87F3DF
tetradic
#DF87F3 #F3A987 #9BF387 #87D1F3
square
#DF87F3 #F3A987 #9BF387 #87D1F3
split-complementary
#DF87F3 #D1F387 #87F3A9
monochromatic
#C118E8 #D04FED #DF87F3 #EEBFF9 #F8E3FC
Accessibility & contrast
On white
2.36
#DF87F3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.90
#DF87F3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DF87F3
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DF87F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DF87F3 | 1.00 | 2.36 | 8.90 | 8.90 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77A3F7
Deuteranopia (green-blind)
#8FACF0
Tritanopia (blue-blind)
#E095B2
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #df87f3; /* rgb */ color: rgb(223, 135, 243); /* oklch */ color: oklch(75.4% 0.174 320.0);
Tailwind
colors: {
custom: {
50: '#ebacf7',
500: '#df87f3',
950: '#000000',
},
}SCSS
$custom: #df87f3; $custom-light: #ebacf7; $custom-dark: #000000;
JSON
{
"hex": "#df87f3",
"rgb": {
"r": 223,
"g": 135,
"b": 243
},
"hsl": {
"h": 288.889,
"s": 81.818,
"l": 74.118
},
"oklch": {
"l": 0.75436,
"c": 0.17427,
"h": 320
},
"luminance": 0.39487
}Semantic roles & 50–950 ramp
primary
#DF87F3
secondary
#DCF4D7
accent
#DE072F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85