#D581F3#D581F3
#D581F3 is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.4% C 0.179 H 316.6°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #D581F3 |
|---|---|
| RGB | rgb(213, 129, 243) |
| HSL | hsl(284, 83%, 73%) |
| HSV | hsv(284, 47%, 95%) |
| CMYK | cmyk(12.3%, 46.9%, 0%, 4.7%) |
| CIE-LAB | lab(66.76, 50.80, -44.36) |
| CIE-LCH | lch(66.76, 67.44, 318.87°) |
| OKLab | oklab(73.44% 0.1302 -0.123) |
| OKLCH | oklch(73.44% 0.179 316.6) |
| XYZ | xyz(51.4661, 36.3193, 89.0759) |
| Luminance | 0.3632 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 5.04
Light Purple
#BF77F6
ΔE00 5.09
Liliac
#C48EFD
ΔE00 5.13
Purply Pink
#F075E6
ΔE00 6.08
Orchid
#DA70D6
ΔE00 6.09
Easter Purple
#C071FE
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D581F3 #9FF381
analogous
#9C81F3 #D581F3 #F381D8
triadic
#D581F3 #F3D581 #81F3D5
tetradic
#D581F3 #F39C81 #9FF381 #81D8F3
square
#D581F3 #F39C81 #9FF381 #81D8F3
split-complementary
#D581F3 #D8F381 #81F39C
monochromatic
#AE16E4 #C249EE #D581F3 #E8B9F8 #F6E3FC
Accessibility & contrast
On white
2.54
#D581F3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.26
#D581F3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D581F3
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D581F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D581F3 | 1.00 | 2.54 | 8.26 | 8.26 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C9DF7
Deuteranopia (green-blind)
#84A5F0
Tritanopia (blue-blind)
#D491AF
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d581f3; /* rgb */ color: rgb(213, 129, 243); /* oklch */ color: oklch(73.4% 0.179 316.6);
Tailwind
colors: {
custom: {
50: '#e4a8f7',
500: '#d581f3',
950: '#000000',
},
}SCSS
$custom: #d581f3; $custom-light: #e4a8f7; $custom-dark: #000000;
JSON
{
"hex": "#d581f3",
"rgb": {
"r": 213,
"g": 129,
"b": 243
},
"hsl": {
"h": 284.211,
"s": 82.609,
"l": 72.941
},
"oklch": {
"l": 0.73443,
"c": 0.17913,
"h": 316.6
},
"luminance": 0.36318
}Semantic roles & 50–950 ramp
primary
#D581F3
secondary
#DFF4D7
accent
#DF063F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85