#D381F7#D381F7
#D381F7 is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.4% C 0.182 H 314.7°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #D381F7 |
|---|---|
| RGB | rgb(211, 129, 247) |
| HSL | hsl(282, 88%, 74%) |
| HSV | hsv(282, 48%, 97%) |
| CMYK | cmyk(14.6%, 47.8%, 0%, 3.1%) |
| CIE-LAB | lab(66.72, 51.06, -46.63) |
| CIE-LCH | lch(66.72, 69.15, 317.59°) |
| OKLab | oklab(73.42% 0.1285 -0.1296) |
| OKLCH | oklch(73.42% 0.182 314.7) |
| XYZ | xyz(51.5001, 36.2662, 92.2648) |
| Luminance | 0.3626 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.47
Liliac
#C48EFD
ΔE00 4.54
Easter Purple
#C071FE
ΔE00 5.60
Violet (CSS)
#EE82EE
ΔE00 5.79
Baby Purple
#CA9BF7
ΔE00 6.66
Orchid
#DA70D6
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D381F7 #A5F781
analogous
#9881F7 #D381F7 #F781E0
triadic
#D381F7 #F7D381 #81F7D3
tetradic
#D381F7 #F79881 #A5F781 #81E0F7
square
#D381F7 #F79881 #A5F781 #81E0F7
split-complementary
#D381F7 #E0F781 #81F798
monochromatic
#AA0FEE #BF47F3 #D381F7 #E7BBFB #F5E2FD
Accessibility & contrast
On white
2.54
#D381F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.25
#D381F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D381F7
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D381F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D381F7 | 1.00 | 2.54 | 8.25 | 8.25 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689DFB
Deuteranopia (green-blind)
#80A5F4
Tritanopia (blue-blind)
#D193B1
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d381f7; /* rgb */ color: rgb(211, 129, 247); /* oklch */ color: oklch(73.4% 0.182 314.7);
Tailwind
colors: {
custom: {
50: '#e3a8fa',
500: '#d381f7',
950: '#000000',
},
}SCSS
$custom: #d381f7; $custom-light: #e3a8fa; $custom-dark: #000000;
JSON
{
"hex": "#d381f7",
"rgb": {
"r": 211,
"g": 129,
"b": 247
},
"hsl": {
"h": 281.695,
"s": 88.06,
"l": 73.725
},
"oklch": {
"l": 0.73424,
"c": 0.18248,
"h": 314.7
},
"luminance": 0.36265
}Semantic roles & 50–950 ramp
primary
#D381F7
secondary
#DFF5D6
accent
#E50146
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85