#D581EF#D581EF
#D581EF is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.2% C 0.175 H 317.8°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #D581EF |
|---|---|
| RGB | rgb(213, 129, 239) |
| HSL | hsl(286, 77%, 72%) |
| HSV | hsv(286, 46%, 94%) |
| CMYK | cmyk(10.9%, 46%, 0%, 6.3%) |
| CIE-LAB | lab(66.58, 50.00, -42.44) |
| CIE-LCH | lch(66.58, 65.58, 319.67°) |
| OKLab | oklab(73.25% 0.1297 -0.1175) |
| OKLCH | oklch(73.25% 0.175 317.8) |
| XYZ | xyz(50.8687, 36.0803, 85.9292) |
| Luminance | 0.3608 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.69
Light Purple
#BF77F6
ΔE00 5.46
Liliac
#C48EFD
ΔE00 5.54
Orchid
#DA70D6
ΔE00 5.56
Purply Pink
#F075E6
ΔE00 5.68
Lavender Pink
#DD85D7
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D581EF #9BEF81
analogous
#9E81EF #D581EF #EF81D2
triadic
#D581EF #EFD581 #81EFD5
tetradic
#D581EF #EF9E81 #9BEF81 #81D2EF
square
#D581EF #EF9E81 #9BEF81 #81D2EF
split-complementary
#D581EF #D2EF81 #81EF9E
monochromatic
#AD1CDA #C34BE8 #D581EF #E7B7F6 #F6E4FC
Accessibility & contrast
On white
2.56
#D581EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.22
#D581EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D581EF
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D581EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D581EF | 1.00 | 2.56 | 8.22 | 8.22 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9CF3
Deuteranopia (green-blind)
#86A5EC
Tritanopia (blue-blind)
#D590AD
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d581ef; /* rgb */ color: rgb(213, 129, 239); /* oklch */ color: oklch(73.2% 0.175 317.8);
Tailwind
colors: {
custom: {
50: '#e4a8f4',
500: '#d581ef',
950: '#000000',
},
}SCSS
$custom: #d581ef; $custom-light: #e4a8f4; $custom-dark: #000000;
JSON
{
"hex": "#d581ef",
"rgb": {
"r": 213,
"g": 129,
"b": 239
},
"hsl": {
"h": 285.818,
"s": 77.465,
"l": 72.157
},
"oklch": {
"l": 0.73249,
"c": 0.17495,
"h": 317.8
},
"luminance": 0.36079
}Semantic roles & 50–950 ramp
primary
#D581EF
secondary
#DEF3D8
accent
#DA0C3C
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85