#DF87F2#DF87F2
#DF87F2 is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.4% C 0.173 H 320.3°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #DF87F2 |
|---|---|
| RGB | rgb(223, 135, 242) |
| HSL | hsl(289, 80%, 74%) |
| HSV | hsv(289, 44%, 95%) |
| CMYK | cmyk(7.9%, 44.2%, 0%, 5.1%) |
| CIE-LAB | lab(69.06, 50.32, -40.13) |
| CIE-LCH | lch(69.06, 64.36, 321.43°) |
| OKLab | oklab(75.39% 0.1333 -0.1106) |
| OKLCH | oklch(75.39% 0.173 320.3) |
| XYZ | xyz(55.1204, 39.4287, 88.6942) |
| Luminance | 0.3943 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.07
Lavender Pink
#DD85D7
ΔE00 4.92
Purply Pink
#F075E6
ΔE00 4.98
Orchid
#DA70D6
ΔE00 6.22
Liliac
#C48EFD
ΔE00 6.39
Baby Purple
#CA9BF7
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DF87F2 #9AF287
analogous
#AA87F2 #DF87F2 #F287D0
triadic
#DF87F2 #F2DF87 #87F2DF
tetradic
#DF87F2 #F2AA87 #9AF287 #87D0F2
square
#DF87F2 #F2AA87 #9AF287 #87D0F2
split-complementary
#DF87F2 #D0F287 #87F2AA
monochromatic
#C119E6 #D050EC #DF87F2 #EEBEF8 #F8E3FC
Accessibility & contrast
On white
2.36
#DF87F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.89
#DF87F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DF87F2
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DF87F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DF87F2 | 1.00 | 2.36 | 8.89 | 8.89 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77A2F6
Deuteranopia (green-blind)
#90ACEF
Tritanopia (blue-blind)
#E095B1
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #df87f2; /* rgb */ color: rgb(223, 135, 242); /* oklch */ color: oklch(75.4% 0.173 320.3);
Tailwind
colors: {
custom: {
50: '#ebacf6',
500: '#df87f2',
950: '#000000',
},
}SCSS
$custom: #df87f2; $custom-light: #ebacf6; $custom-dark: #000000;
JSON
{
"hex": "#df87f2",
"rgb": {
"r": 223,
"g": 135,
"b": 242
},
"hsl": {
"h": 289.346,
"s": 80.451,
"l": 73.922
},
"oklch": {
"l": 0.7539,
"c": 0.17325,
"h": 320.3
},
"luminance": 0.39427
}Semantic roles & 50–950 ramp
primary
#DF87F2
secondary
#DCF4D7
accent
#DD092E
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85