#D587FD#D587FD
#D587FD is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.8% C 0.180 H 313.2°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #D587FD |
|---|---|
| RGB | rgb(213, 135, 253) |
| HSL | hsl(280, 97%, 76%) |
| HSV | hsv(280, 47%, 99%) |
| CMYK | cmyk(15.8%, 46.6%, 0%, 0.8%) |
| CIE-LAB | lab(68.44, 49.73, -47.20) |
| CIE-LCH | lch(68.44, 68.57, 316.49°) |
| OKLab | oklab(74.84% 0.1235 -0.1313) |
| OKLCH | oklch(74.84% 0.18 313.2) |
| XYZ | xyz(53.8312, 38.5672, 97.5179) |
| Luminance | 0.3857 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.72
Light Purple
#BF77F6
ΔE00 5.37
Baby Purple
#CA9BF7
ΔE00 5.58
Violet (CSS)
#EE82EE
ΔE00 6.02
Easter Purple
#C071FE
ΔE00 6.47
Pastel Purple
#CAA0FF
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D587FD #AFFD87
analogous
#9A87FD #D587FD #FD87EA
triadic
#D587FD #FDD587 #87FDD5
tetradic
#D587FD #FD9A87 #AFFD87 #87EAFD
square
#D587FD #FD9A87 #AFFD87 #87EAFD
split-complementary
#D587FD #EAFD87 #87FD9A
monochromatic
#AB0FFB #C04BFC #D587FD #EAC3FE #F4E1FE
Accessibility & contrast
On white
2.41
#D587FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.71
#D587FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D587FD
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D587FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D587FD | 1.00 | 2.41 | 8.71 | 8.71 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#84A9FA
Tritanopia (blue-blind)
#D299B6
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #d587fd; /* rgb */ color: rgb(213, 135, 253); /* oklch */ color: oklch(74.8% 0.180 313.2);
Tailwind
colors: {
custom: {
50: '#e4acfe',
500: '#d587fd',
950: '#000000',
},
}SCSS
$custom: #d587fd; $custom-light: #e4acfe; $custom-dark: #000000;
JSON
{
"hex": "#d587fd",
"rgb": {
"r": 213,
"g": 135,
"b": 253
},
"hsl": {
"h": 279.661,
"s": 96.721,
"l": 76.078
},
"oklch": {
"l": 0.7484,
"c": 0.1802,
"h": 313.2
},
"luminance": 0.38566
}Semantic roles & 50–950 ramp
primary
#D587FD
secondary
#E0F7D4
accent
#E6004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86