#DF87F9#DF87F9
#DF87F9 is a light, vivid purple. Relative luminance 0.399; OKLCH L 75.7% C 0.180 H 318.2°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #DF87F9 |
|---|---|
| RGB | rgb(223, 135, 249) |
| HSL | hsl(286, 90%, 75%) |
| HSV | hsv(286, 46%, 98%) |
| CMYK | cmyk(10.4%, 45.8%, 0%, 2.4%) |
| CIE-LAB | lab(69.37, 51.68, -43.48) |
| CIE-LCH | lch(69.37, 67.54, 319.93°) |
| OKLab | oklab(75.72% 0.1344 -0.1203) |
| OKLCH | oklch(75.72% 0.18 318.2) |
| XYZ | xyz(56.1919, 39.8573, 94.3374) |
| Luminance | 0.3986 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.87
Liliac
#C48EFD
ΔE00 5.70
Purply Pink
#F075E6
ΔE00 5.70
Lavender Pink
#DD85D7
ΔE00 6.12
Baby Purple
#CA9BF7
ΔE00 6.42
Orchid
#DA70D6
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DF87F9 #A1F987
analogous
#A687F9 #DF87F9 #F987DA
triadic
#DF87F9 #F9DF87 #87F9DF
tetradic
#DF87F9 #F9A687 #A1F987 #87DAF9
square
#DF87F9 #F9A687 #A1F987 #87DAF9
split-complementary
#DF87F9 #DAF987 #87F9A6
monochromatic
#C012F3 #CF4DF6 #DF87F9 #EFC1FC #F7E2FE
Accessibility & contrast
On white
2.34
#DF87F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.97
#DF87F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DF87F9
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DF87F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DF87F9 | 1.00 | 2.34 | 8.97 | 8.97 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74A4FD
Deuteranopia (green-blind)
#8CACF6
Tritanopia (blue-blind)
#DF97B4
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #df87f9; /* rgb */ color: rgb(223, 135, 249); /* oklch */ color: oklch(75.7% 0.180 318.2);
Tailwind
colors: {
custom: {
50: '#ebacfb',
500: '#df87f9',
950: '#000000',
},
}SCSS
$custom: #df87f9; $custom-light: #ebacfb; $custom-dark: #000000;
JSON
{
"hex": "#df87f9",
"rgb": {
"r": 223,
"g": 135,
"b": 249
},
"hsl": {
"h": 286.316,
"s": 90.476,
"l": 75.294
},
"oklch": {
"l": 0.75719,
"c": 0.18039,
"h": 318.2
},
"luminance": 0.39855
}Semantic roles & 50–950 ramp
primary
#DF87F9
secondary
#DDF6D5
accent
#E60034
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85