#D587EB#D587EB
#D587EB is a light, vivid purple. Relative luminance 0.375; OKLCH L 74.0% C 0.161 H 318.6°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #D587EB |
|---|---|
| RGB | rgb(213, 135, 235) |
| HSL | hsl(287, 71%, 73%) |
| HSV | hsv(287, 43%, 92%) |
| CMYK | cmyk(9.4%, 42.6%, 0%, 7.8%) |
| CIE-LAB | lab(67.63, 46.08, -38.60) |
| CIE-LCH | lch(67.63, 60.11, 320.05°) |
| OKLab | oklab(73.98% 0.1206 -0.1064) |
| OKLCH | oklch(73.98% 0.161 318.6) |
| XYZ | xyz(51.0979, 37.4739, 83.1227) |
| Luminance | 0.3747 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.39
Lavender Pink
#DD85D7
ΔE00 4.72
Liliac
#C48EFD
ΔE00 5.62
Purply Pink
#F075E6
ΔE00 5.87
Orchid
#DA70D6
ΔE00 5.96
Baby Purple
#CA9BF7
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D587EB #9DEB87
analogous
#A387EB #D587EB #EB87CF
triadic
#D587EB #EBD587 #87EBD5
tetradic
#D587EB #EBA387 #9DEB87 #87CFEB
square
#D587EB #EBA387 #9DEB87 #87CFEB
split-complementary
#D587EB #CFEB87 #87EBA3
monochromatic
#AD23D4 #C353E2 #D587EB #E7BBF4 #F6E5FB
Accessibility & contrast
On white
2.47
#D587EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.49
#D587EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D587EB
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D587EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D587EB | 1.00 | 2.47 | 8.49 | 8.49 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#78A0EF
Deuteranopia (green-blind)
#8CA7E8
Tritanopia (blue-blind)
#D594AE
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #d587eb; /* rgb */ color: rgb(213, 135, 235); /* oklch */ color: oklch(74.0% 0.161 318.6);
Tailwind
colors: {
custom: {
50: '#e3acf2',
500: '#d587eb',
950: '#000000',
},
}SCSS
$custom: #d587eb; $custom-light: #e3acf2; $custom-dark: #000000;
JSON
{
"hex": "#d587eb",
"rgb": {
"r": 213,
"g": 135,
"b": 235
},
"hsl": {
"h": 286.8,
"s": 71.429,
"l": 72.549
},
"oklch": {
"l": 0.73975,
"c": 0.16086,
"h": 318.6
},
"luminance": 0.37472
}Semantic roles & 50–950 ramp
primary
#D587EB
secondary
#DEF2D9
accent
#D3123D
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85