#D381F6#D381F6
#D381F6 is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.4% C 0.181 H 315.0°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #D381F6 |
|---|---|
| RGB | rgb(211, 129, 246) |
| HSL | hsl(282, 87%, 74%) |
| HSV | hsv(282, 48%, 96%) |
| CMYK | cmyk(14.2%, 47.6%, 0%, 3.5%) |
| CIE-LAB | lab(66.68, 50.86, -46.16) |
| CIE-LCH | lch(66.68, 68.68, 317.77°) |
| OKLab | oklab(73.37% 0.1283 -0.1282) |
| OKLCH | oklch(73.37% 0.181 315) |
| XYZ | xyz(51.3462, 36.2046, 91.4543) |
| Luminance | 0.3620 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.54
Liliac
#C48EFD
ΔE00 4.61
Easter Purple
#C071FE
ΔE00 5.69
Violet (CSS)
#EE82EE
ΔE00 5.69
Baby Purple
#CA9BF7
ΔE00 6.67
Orchid
#DA70D6
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D381F6 #A4F681
analogous
#9881F6 #D381F6 #F681DF
triadic
#D381F6 #F6D381 #81F6D3
tetradic
#D381F6 #F69881 #A4F681 #81DFF6
square
#D381F6 #F69881 #A4F681 #81DFF6
split-complementary
#D381F6 #DFF681 #81F698
monochromatic
#AA11EC #BF48F2 #D381F6 #E7BAFA #F5E2FD
Accessibility & contrast
On white
2.55
#D381F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.24
#D381F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D381F6
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D381F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D381F6 | 1.00 | 2.55 | 8.24 | 8.24 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#699DFA
Deuteranopia (green-blind)
#81A5F3
Tritanopia (blue-blind)
#D192B0
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d381f6; /* rgb */ color: rgb(211, 129, 246); /* oklch */ color: oklch(73.4% 0.181 315.0);
Tailwind
colors: {
custom: {
50: '#e2a8f9',
500: '#d381f6',
950: '#000000',
},
}SCSS
$custom: #d381f6; $custom-light: #e2a8f9; $custom-dark: #000000;
JSON
{
"hex": "#d381f6",
"rgb": {
"r": 211,
"g": 129,
"b": 246
},
"hsl": {
"h": 282.051,
"s": 86.667,
"l": 73.529
},
"oklch": {
"l": 0.73374,
"c": 0.18142,
"h": 315
},
"luminance": 0.36203
}Semantic roles & 50–950 ramp
primary
#D381F6
secondary
#DFF5D6
accent
#E30246
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85