#D587F2#D587F2
#D587F2 is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.3% C 0.168 H 316.4°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #D587F2 |
|---|---|
| RGB | rgb(213, 135, 242) |
| HSL | hsl(284, 80%, 74%) |
| HSV | hsv(284, 44%, 95%) |
| CMYK | cmyk(12%, 44.2%, 0%, 5.1%) |
| CIE-LAB | lab(67.94, 47.48, -41.97) |
| CIE-LCH | lch(67.94, 63.37, 318.53°) |
| OKLab | oklab(74.3% 0.1218 -0.1161) |
| OKLCH | oklch(74.3% 0.168 316.4) |
| XYZ | xyz(52.1292, 37.8864, 88.5539) |
| Luminance | 0.3789 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Liliac
#C48EFD
ΔE00 4.70
Violet (CSS)
#EE82EE
ΔE00 4.88
Baby Purple
#CA9BF7
ΔE00 5.64
Lavender Pink
#DD85D7
ΔE00 5.92
Light Purple
#BF77F6
ΔE00 6.02
Purply Pink
#F075E6
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D587F2 #A4F287
analogous
#A087F2 #D587F2 #F287DA
triadic
#D587F2 #F2D587 #87F2D5
tetradic
#D587F2 #F2A087 #A4F287 #87DAF2
square
#D587F2 #F2A087 #A4F287 #87DAF2
split-complementary
#D587F2 #DAF287 #87F2A0
monochromatic
#AE19E6 #C250EC #D587F2 #E8BEF8 #F5E3FC
Accessibility & contrast
On white
2.45
#D587F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.58
#D587F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D587F2
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D587F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D587F2 | 1.00 | 2.45 | 8.58 | 8.58 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74A1F6
Deuteranopia (green-blind)
#89A8EF
Tritanopia (blue-blind)
#D496B1
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #d587f2; /* rgb */ color: rgb(213, 135, 242); /* oklch */ color: oklch(74.3% 0.168 316.4);
Tailwind
colors: {
custom: {
50: '#e4acf6',
500: '#d587f2',
950: '#000000',
},
}SCSS
$custom: #d587f2; $custom-light: #e4acf6; $custom-dark: #000000;
JSON
{
"hex": "#d587f2",
"rgb": {
"r": 213,
"g": 135,
"b": 242
},
"hsl": {
"h": 283.738,
"s": 80.451,
"l": 73.922
},
"oklch": {
"l": 0.74304,
"c": 0.1683,
"h": 316.4
},
"luminance": 0.37885
}Semantic roles & 50–950 ramp
primary
#D587F2
secondary
#DFF4D7
accent
#DD0942
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85