#DC87F3#DC87F3
#DC87F3 is a light, vivid purple. Relative luminance 0.390; OKLCH L 75.1% C 0.173 H 318.8°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #DC87F3 |
|---|---|
| RGB | rgb(220, 135, 243) |
| HSL | hsl(287, 82%, 74%) |
| HSV | hsv(287, 44%, 95%) |
| CMYK | cmyk(9.5%, 44.4%, 0%, 4.7%) |
| CIE-LAB | lab(68.76, 49.66, -41.17) |
| CIE-LCH | lch(68.76, 64.51, 320.34°) |
| OKLab | oklab(75.11% 0.1301 -0.1137) |
| OKLCH | oklch(75.11% 0.173 318.8) |
| XYZ | xyz(54.3547, 39.0165, 89.4444) |
| Luminance | 0.3901 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.70
Lavender Pink
#DD85D7
ΔE00 5.34
Purply Pink
#F075E6
ΔE00 5.47
Liliac
#C48EFD
ΔE00 5.77
Baby Purple
#CA9BF7
ΔE00 6.29
Orchid
#DA70D6
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC87F3 #9EF387
analogous
#A687F3 #DC87F3 #F387D4
triadic
#DC87F3 #F3DC87 #87F3DC
tetradic
#DC87F3 #F3A687 #9EF387 #87D4F3
square
#DC87F3 #F3A687 #9EF387 #87D4F3
split-complementary
#DC87F3 #D4F387 #87F3A6
monochromatic
#BC18E8 #CC4FED #DC87F3 #ECBFF9 #F7E3FC
Accessibility & contrast
On white
2.39
#DC87F3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.80
#DC87F3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DC87F3
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC87F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC87F3 | 1.00 | 2.39 | 8.80 | 8.80 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#76A2F7
Deuteranopia (green-blind)
#8DABF0
Tritanopia (blue-blind)
#DD95B2
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #dc87f3; /* rgb */ color: rgb(220, 135, 243); /* oklch */ color: oklch(75.1% 0.173 318.8);
Tailwind
colors: {
custom: {
50: '#e9acf7',
500: '#dc87f3',
950: '#000000',
},
}SCSS
$custom: #dc87f3; $custom-light: #e9acf7; $custom-dark: #000000;
JSON
{
"hex": "#dc87f3",
"rgb": {
"r": 220,
"g": 135,
"b": 243
},
"hsl": {
"h": 287.222,
"s": 81.818,
"l": 74.118
},
"oklch": {
"l": 0.75108,
"c": 0.17273,
"h": 318.8
},
"luminance": 0.39015
}Semantic roles & 50–950 ramp
primary
#DC87F3
secondary
#DDF4D7
accent
#DE0735
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85