#D581ED#D581ED
#D581ED is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.2% C 0.173 H 318.4°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #D581ED |
|---|---|
| RGB | rgb(213, 129, 237) |
| HSL | hsl(287, 75%, 72%) |
| HSV | hsv(287, 46%, 93%) |
| CMYK | cmyk(10.1%, 45.6%, 0%, 7.1%) |
| CIE-LAB | lab(66.49, 49.60, -41.48) |
| CIE-LCH | lch(66.49, 64.66, 320.10°) |
| OKLab | oklab(73.15% 0.1294 -0.1147) |
| OKLCH | oklch(73.15% 0.173 318.4) |
| XYZ | xyz(50.5748, 35.9628, 84.3817) |
| Luminance | 0.3596 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.54
Orchid
#DA70D6
ΔE00 5.30
Lavender Pink
#DD85D7
ΔE00 5.40
Purply Pink
#F075E6
ΔE00 5.50
Light Purple
#BF77F6
ΔE00 5.68
Liliac
#C48EFD
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D581ED #99ED81
analogous
#9F81ED #D581ED #ED81CF
triadic
#D581ED #EDD581 #81EDD5
tetradic
#D581ED #ED9F81 #99ED81 #81CFED
square
#D581ED #ED9F81 #99ED81 #81CFED
split-complementary
#D581ED #CFED81 #81ED9F
monochromatic
#AD1ED5 #C34BE5 #D581ED #E7B7F5 #F6E4FB
Accessibility & contrast
On white
2.56
#D581ED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#D581ED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D581ED
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D581ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D581ED | 1.00 | 2.56 | 8.19 | 8.19 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F9CF1
Deuteranopia (green-blind)
#86A5EA
Tritanopia (blue-blind)
#D590AC
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d581ed; /* rgb */ color: rgb(213, 129, 237); /* oklch */ color: oklch(73.2% 0.173 318.4);
Tailwind
colors: {
custom: {
50: '#e4a8f3',
500: '#d581ed',
950: '#000000',
},
}SCSS
$custom: #d581ed; $custom-light: #e4a8f3; $custom-dark: #000000;
JSON
{
"hex": "#d581ed",
"rgb": {
"r": 213,
"g": 129,
"b": 237
},
"hsl": {
"h": 286.667,
"s": 75,
"l": 71.765
},
"oklch": {
"l": 0.73152,
"c": 0.17287,
"h": 318.4
},
"luminance": 0.35961
}Semantic roles & 50–950 ramp
primary
#D581ED
secondary
#DDF3D7
accent
#D70E3B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85