#D586F8#D586F8
#D586F8 is a light, vivid purple. Relative luminance 0.380; OKLCH L 74.4% C 0.176 H 314.7°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #D586F8 |
|---|---|
| RGB | rgb(213, 134, 248) |
| HSL | hsl(282, 89%, 75%) |
| HSV | hsv(282, 46%, 97%) |
| CMYK | cmyk(14.1%, 46%, 0%, 2.7%) |
| CIE-LAB | lab(68.00, 49.22, -45.15) |
| CIE-LCH | lch(68.00, 66.80, 317.47°) |
| OKLab | oklab(74.44% 0.1241 -0.1253) |
| OKLCH | oklch(74.44% 0.176 314.7) |
| XYZ | xyz(52.9063, 37.9750, 93.3317) |
| Luminance | 0.3797 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Liliac
#C48EFD
ΔE00 4.17
Light Purple
#BF77F6
ΔE00 5.43
Violet (CSS)
#EE82EE
ΔE00 5.46
Baby Purple
#CA9BF7
ΔE00 5.73
Easter Purple
#C071FE
ΔE00 6.62
Purply Pink
#F075E6
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D586F8 #A9F886
analogous
#9C86F8 #D586F8 #F886E2
triadic
#D586F8 #F8D586 #86F8D5
tetradic
#D586F8 #F89C86 #A9F886 #86E2F8
square
#D586F8 #F89C86 #A9F886 #86E2F8
split-complementary
#D586F8 #E2F886 #86F89C
monochromatic
#AD12F1 #C14CF5 #D586F8 #E9C0FB #F5E2FD
Accessibility & contrast
On white
2.44
#D586F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.59
#D586F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D586F8
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D586F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D586F8 | 1.00 | 2.44 | 8.59 | 8.59 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6FA1FC
Deuteranopia (green-blind)
#85A8F5
Tritanopia (blue-blind)
#D397B3
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #d586f8; /* rgb */ color: rgb(213, 134, 248); /* oklch */ color: oklch(74.4% 0.176 314.7);
Tailwind
colors: {
custom: {
50: '#e4abfb',
500: '#d586f8',
950: '#000000',
},
}SCSS
$custom: #d586f8; $custom-light: #e4abfb; $custom-dark: #000000;
JSON
{
"hex": "#d586f8",
"rgb": {
"r": 213,
"g": 134,
"b": 248
},
"hsl": {
"h": 281.579,
"s": 89.063,
"l": 74.902
},
"oklch": {
"l": 0.74441,
"c": 0.17638,
"h": 314.7
},
"luminance": 0.37974
}Semantic roles & 50–950 ramp
primary
#D586F8
secondary
#DFF5D6
accent
#E60046
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85