#D382EB#D382EB
#D382EB is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.0% C 0.168 H 318.2°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #D382EB |
|---|---|
| RGB | rgb(211, 130, 235) |
| HSL | hsl(286, 72%, 72%) |
| HSV | hsv(286, 45%, 92%) |
| CMYK | cmyk(10.2%, 44.7%, 0%, 7.8%) |
| CIE-LAB | lab(66.38, 48.12, -40.57) |
| CIE-LCH | lch(66.38, 62.94, 319.86°) |
| OKLab | oklab(72.99% 0.1253 -0.1121) |
| OKLCH | oklch(72.99% 0.168 318.2) |
| XYZ | xyz(49.8399, 35.8139, 82.8685) |
| Luminance | 0.3581 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.75
Lavender Pink
#DD85D7
ΔE00 5.25
Orchid
#DA70D6
ΔE00 5.35
Liliac
#C48EFD
ΔE00 5.64
Light Purple
#BF77F6
ΔE00 5.71
Purply Pink
#F075E6
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D382EB #9AEB82
analogous
#9F82EB #D382EB #EB82CF
triadic
#D382EB #EBD382 #82EBD3
tetradic
#D382EB #EB9F82 #9AEB82 #82CFEB
square
#D382EB #EB9F82 #9AEB82 #82CFEB
split-complementary
#D382EB #CFEB82 #82EB9F
monochromatic
#A921D1 #C04DE3 #D382EB #E6B7F3 #F6E5FB
Accessibility & contrast
On white
2.57
#D382EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#D382EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D382EB
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D382EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D382EB | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#719CEF
Deuteranopia (green-blind)
#87A4E8
Tritanopia (blue-blind)
#D390AC
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d382eb; /* rgb */ color: rgb(211, 130, 235); /* oklch */ color: oklch(73.0% 0.168 318.2);
Tailwind
colors: {
custom: {
50: '#e2a8f2',
500: '#d382eb',
950: '#000000',
},
}SCSS
$custom: #d382eb; $custom-light: #e2a8f2; $custom-dark: #000000;
JSON
{
"hex": "#d382eb",
"rgb": {
"r": 211,
"g": 130,
"b": 235
},
"hsl": {
"h": 286.286,
"s": 72.414,
"l": 71.569
},
"oklch": {
"l": 0.72988,
"c": 0.16816,
"h": 318.2
},
"luminance": 0.35812
}Semantic roles & 50–950 ramp
primary
#D382EB
secondary
#DDF2D7
accent
#D4113E
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85