#D381F2#D381F2
#D381F2 is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.2% C 0.177 H 316.2°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #D381F2 |
|---|---|
| RGB | rgb(211, 129, 242) |
| HSL | hsl(284, 81%, 73%) |
| HSV | hsv(284, 47%, 95%) |
| CMYK | cmyk(12.8%, 46.7%, 0%, 5.1%) |
| CIE-LAB | lab(66.49, 50.04, -44.25) |
| CIE-LCH | lch(66.49, 66.80, 318.51°) |
| OKLab | oklab(73.18% 0.1278 -0.1227) |
| OKLCH | oklch(73.18% 0.177 316.2) |
| XYZ | xyz(50.7388, 35.9617, 88.2557) |
| Luminance | 0.3596 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.85
Liliac
#C48EFD
ΔE00 4.96
Violet (CSS)
#EE82EE
ΔE00 5.32
Easter Purple
#C071FE
ΔE00 6.07
Orchid
#DA70D6
ΔE00 6.13
Purply Pink
#F075E6
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D381F2 #A0F281
analogous
#9A81F2 #D381F2 #F281D8
triadic
#D381F2 #F2D381 #81F2D3
tetradic
#D381F2 #F29A81 #A0F281 #81D8F2
square
#D381F2 #F29A81 #A0F281 #81D8F2
split-complementary
#D381F2 #D8F281 #81F29A
monochromatic
#AA17E1 #C04AEC #D381F2 #E6B8F8 #F5E3FC
Accessibility & contrast
On white
2.56
#D381F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#D381F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D381F2
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D381F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D381F2 | 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)
#6B9DF6
Deuteranopia (green-blind)
#83A4EF
Tritanopia (blue-blind)
#D291AE
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d381f2; /* rgb */ color: rgb(211, 129, 242); /* oklch */ color: oklch(73.2% 0.177 316.2);
Tailwind
colors: {
custom: {
50: '#e2a8f7',
500: '#d381f2',
950: '#000000',
},
}SCSS
$custom: #d381f2; $custom-light: #e2a8f7; $custom-dark: #000000;
JSON
{
"hex": "#d381f2",
"rgb": {
"r": 211,
"g": 129,
"b": 242
},
"hsl": {
"h": 283.54,
"s": 81.295,
"l": 72.745
},
"oklch": {
"l": 0.73176,
"c": 0.17717,
"h": 316.2
},
"luminance": 0.3596
}Semantic roles & 50–950 ramp
primary
#D381F2
secondary
#DFF4D7
accent
#DE0842
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85