#D382EF#D382EF
#D382EF is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.2% C 0.172 H 317.0°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #D382EF |
|---|---|
| RGB | rgb(211, 130, 239) |
| HSL | hsl(285, 77%, 72%) |
| HSV | hsv(285, 46%, 94%) |
| CMYK | cmyk(11.7%, 45.6%, 0%, 6.3%) |
| CIE-LAB | lab(66.56, 48.92, -42.50) |
| CIE-LCH | lch(66.56, 64.80, 319.02°) |
| OKLab | oklab(73.18% 0.126 -0.1177) |
| OKLCH | oklch(73.18% 0.172 317) |
| XYZ | xyz(50.4243, 36.0477, 85.9463) |
| Luminance | 0.3605 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 5.03
Liliac
#C48EFD
ΔE00 5.16
Light Purple
#BF77F6
ΔE00 5.26
Orchid
#DA70D6
ΔE00 5.84
Lavender Pink
#DD85D7
ΔE00 5.90
Purply Pink
#F075E6
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D382EF #9EEF82
analogous
#9C82EF #D382EF #EF82D5
triadic
#D382EF #EFD382 #82EFD3
tetradic
#D382EF #EF9C82 #9EEF82 #82D5EF
square
#D382EF #EF9C82 #9EEF82 #82D5EF
split-complementary
#D382EF #D5EF82 #82EF9C
monochromatic
#AA1CDB #C04CE8 #D382EF #E6B8F6 #F5E4FC
Accessibility & contrast
On white
2.56
#D382EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.21
#D382EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D382EF
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D382EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D382EF | 1.00 | 2.56 | 8.21 | 8.21 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9DF3
Deuteranopia (green-blind)
#85A4EC
Tritanopia (blue-blind)
#D291AD
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d382ef; /* rgb */ color: rgb(211, 130, 239); /* oklch */ color: oklch(73.2% 0.172 317.0);
Tailwind
colors: {
custom: {
50: '#e2a8f4',
500: '#d382ef',
950: '#000000',
},
}SCSS
$custom: #d382ef; $custom-light: #e2a8f4; $custom-dark: #000000;
JSON
{
"hex": "#d382ef",
"rgb": {
"r": 211,
"g": 130,
"b": 239
},
"hsl": {
"h": 284.587,
"s": 77.305,
"l": 72.353
},
"oklch": {
"l": 0.7318,
"c": 0.17237,
"h": 317
},
"luminance": 0.36046
}Semantic roles & 50–950 ramp
primary
#D382EF
secondary
#DFF3D8
accent
#DA0C41
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85