#D581EC#D581EC
#D581EC is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.1% C 0.172 H 318.8°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #D581EC |
|---|---|
| RGB | rgb(213, 129, 236) |
| HSL | hsl(287, 74%, 72%) |
| HSV | hsv(287, 45%, 93%) |
| CMYK | cmyk(9.7%, 45.3%, 0%, 7.5%) |
| CIE-LAB | lab(66.45, 49.40, -41.00) |
| CIE-LCH | lch(66.45, 64.20, 320.31°) |
| OKLab | oklab(73.11% 0.1292 -0.1133) |
| OKLCH | oklch(73.11% 0.172 318.8) |
| XYZ | xyz(50.4291, 35.9045, 83.6144) |
| Luminance | 0.3590 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.47
Orchid
#DA70D6
ΔE00 5.17
Lavender Pink
#DD85D7
ΔE00 5.23
Purply Pink
#F075E6
ΔE00 5.41
Light Purple
#BF77F6
ΔE00 5.79
Liliac
#C48EFD
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D581EC #98EC81
analogous
#A081EC #D581EC #EC81CE
triadic
#D581EC #ECD581 #81ECD5
tetradic
#D581EC #ECA081 #98EC81 #81CEEC
square
#D581EC #ECA081 #98EC81 #81CEEC
split-complementary
#D581EC #CEEC81 #81ECA0
monochromatic
#AC20D3 #C34CE4 #D581EC #E7B6F4 #F6E4FB
Accessibility & contrast
On white
2.57
#D581EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#D581EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D581EC
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D581EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D581EC | 1.00 | 2.57 | 8.18 | 8.18 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#709CF0
Deuteranopia (green-blind)
#87A5E9
Tritanopia (blue-blind)
#D58FAB
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d581ec; /* rgb */ color: rgb(213, 129, 236); /* oklch */ color: oklch(73.1% 0.172 318.8);
Tailwind
colors: {
custom: {
50: '#e4a8f2',
500: '#d581ec',
950: '#000000',
},
}SCSS
$custom: #d581ec; $custom-light: #e4a8f2; $custom-dark: #000000;
JSON
{
"hex": "#d581ec",
"rgb": {
"r": 213,
"g": 129,
"b": 236
},
"hsl": {
"h": 287.103,
"s": 73.793,
"l": 71.569
},
"oklch": {
"l": 0.73105,
"c": 0.17184,
"h": 318.8
},
"luminance": 0.35903
}Semantic roles & 50–950 ramp
primary
#D581EC
secondary
#DDF2D7
accent
#D6103A
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85