#D581EB#D581EB
#D581EB is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.1% C 0.171 H 319.1°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #D581EB |
|---|---|
| RGB | rgb(213, 129, 235) |
| HSL | hsl(288, 73%, 71%) |
| HSV | hsv(288, 45%, 92%) |
| CMYK | cmyk(9.4%, 45.1%, 0%, 7.8%) |
| CIE-LAB | lab(66.40, 49.21, -40.52) |
| CIE-LCH | lch(66.40, 63.74, 320.53°) |
| OKLab | oklab(73.06% 0.129 -0.1119) |
| OKLCH | oklch(73.06% 0.171 319.1) |
| XYZ | xyz(50.2843, 35.8465, 82.8514) |
| Luminance | 0.3584 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.41
Orchid
#DA70D6
ΔE00 5.05
Lavender Pink
#DD85D7
ΔE00 5.06
Purply Pink
#F075E6
ΔE00 5.33
Light Purple
#BF77F6
ΔE00 5.91
Liliac
#C48EFD
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D581EB #97EB81
analogous
#A081EB #D581EB #EB81CC
triadic
#D581EB #EBD581 #81EBD5
tetradic
#D581EB #EBA081 #97EB81 #81CCEB
square
#D581EB #EBA081 #97EB81 #81CCEB
split-complementary
#D581EB #CCEB81 #81EBA0
monochromatic
#AC21D1 #C34CE3 #D581EB #E7B6F3 #F6E5FB
Accessibility & contrast
On white
2.57
#D581EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#D581EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D581EB
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D581EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D581EB | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#709CEF
Deuteranopia (green-blind)
#87A4E8
Tritanopia (blue-blind)
#D68FAB
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d581eb; /* rgb */ color: rgb(213, 129, 235); /* oklch */ color: oklch(73.1% 0.171 319.1);
Tailwind
colors: {
custom: {
50: '#e4a8f2',
500: '#d581eb',
950: '#000000',
},
}SCSS
$custom: #d581eb; $custom-light: #e4a8f2; $custom-dark: #000000;
JSON
{
"hex": "#d581eb",
"rgb": {
"r": 213,
"g": 129,
"b": 235
},
"hsl": {
"h": 287.547,
"s": 72.603,
"l": 71.373
},
"oklch": {
"l": 0.73057,
"c": 0.17081,
"h": 319.1
},
"luminance": 0.35845
}Semantic roles & 50–950 ramp
primary
#D581EB
secondary
#DCF2D6
accent
#D51139
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85