#D586F2#D586F2
#D586F2 is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.2% C 0.170 H 316.5°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #D586F2 |
|---|---|
| RGB | rgb(213, 134, 242) |
| HSL | hsl(284, 81%, 74%) |
| HSV | hsv(284, 45%, 95%) |
| CMYK | cmyk(12%, 44.6%, 0%, 5.1%) |
| CIE-LAB | lab(67.73, 48.00, -42.29) |
| CIE-LCH | lch(67.73, 63.97, 318.62°) |
| OKLab | oklab(74.15% 0.1232 -0.117) |
| OKLCH | oklch(74.15% 0.17 316.5) |
| XYZ | xyz(51.9903, 37.6086, 88.5077) |
| Luminance | 0.3761 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Liliac
#C48EFD
ΔE00 4.77
Violet (CSS)
#EE82EE
ΔE00 4.87
Baby Purple
#CA9BF7
ΔE00 5.83
Light Purple
#BF77F6
ΔE00 5.86
Lavender Pink
#DD85D7
ΔE00 5.95
Purply Pink
#F075E6
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D586F2 #A3F286
analogous
#9F86F2 #D586F2 #F286D9
triadic
#D586F2 #F2D586 #86F2D5
tetradic
#D586F2 #F29F86 #A3F286 #86D9F2
square
#D586F2 #F29F86 #A3F286 #86D9F2
split-complementary
#D586F2 #D9F286 #86F29F
monochromatic
#AE19E5 #C24FEC #D586F2 #E8BDF8 #F5E3FC
Accessibility & contrast
On white
2.46
#D586F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.52
#D586F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D586F2
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D586F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D586F2 | 1.00 | 2.46 | 8.52 | 8.52 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#88A7EF
Tritanopia (blue-blind)
#D495B1
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #d586f2; /* rgb */ color: rgb(213, 134, 242); /* oklch */ color: oklch(74.2% 0.170 316.5);
Tailwind
colors: {
custom: {
50: '#e4abf6',
500: '#d586f2',
950: '#000000',
},
}SCSS
$custom: #d586f2; $custom-light: #e4abf6; $custom-dark: #000000;
JSON
{
"hex": "#d586f2",
"rgb": {
"r": 213,
"g": 134,
"b": 242
},
"hsl": {
"h": 283.889,
"s": 80.597,
"l": 73.725
},
"oklch": {
"l": 0.7415,
"c": 0.16995,
"h": 316.5
},
"luminance": 0.37607
}Semantic roles & 50–950 ramp
primary
#D586F2
secondary
#DFF4D7
accent
#DD0942
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85