#D386EF#D386EF
#D386EF is a light, vivid purple. Relative luminance 0.371; OKLCH L 73.8% C 0.166 H 316.6°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #D386EF |
|---|---|
| RGB | rgb(211, 134, 239) |
| HSL | hsl(284, 77%, 73%) |
| HSV | hsv(284, 44%, 94%) |
| CMYK | cmyk(11.7%, 43.9%, 0%, 6.3%) |
| CIE-LAB | lab(67.38, 46.83, -41.21) |
| CIE-LCH | lch(67.38, 62.38, 318.65°) |
| OKLab | oklab(73.79% 0.1204 -0.114) |
| OKLCH | oklch(73.79% 0.166 316.6) |
| XYZ | xyz(50.9668, 37.1325, 86.1271) |
| Luminance | 0.3713 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Liliac
#C48EFD
ΔE00 4.82
Violet (CSS)
#EE82EE
ΔE00 5.00
Lavender Pink
#DD85D7
ΔE00 5.70
Baby Purple
#CA9BF7
ΔE00 5.78
Light Purple
#BF77F6
ΔE00 5.85
Orchid
#DA70D6
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D386EF #A2EF86
analogous
#9E86EF #D386EF #EF86D6
triadic
#D386EF #EFD386 #86EFD3
tetradic
#D386EF #EF9E86 #A2EF86 #86D6EF
square
#D386EF #EF9E86 #A2EF86 #86D6EF
split-complementary
#D386EF #D6EF86 #86EF9E
monochromatic
#AA1DDD #BF50E8 #D386EF #E7BCF6 #F5E4FB
Accessibility & contrast
On white
2.49
#D386EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.43
#D386EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D386EF
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D386EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D386EF | 1.00 | 2.49 | 8.43 | 8.43 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#749FF3
Deuteranopia (green-blind)
#88A6EC
Tritanopia (blue-blind)
#D294AF
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #d386ef; /* rgb */ color: rgb(211, 134, 239); /* oklch */ color: oklch(73.8% 0.166 316.6);
Tailwind
colors: {
custom: {
50: '#e2abf4',
500: '#d386ef',
950: '#000000',
},
}SCSS
$custom: #d386ef; $custom-light: #e2abf4; $custom-dark: #000000;
JSON
{
"hex": "#d386ef",
"rgb": {
"r": 211,
"g": 134,
"b": 239
},
"hsl": {
"h": 284,
"s": 76.642,
"l": 73.137
},
"oklch": {
"l": 0.73792,
"c": 0.16581,
"h": 316.6
},
"luminance": 0.37131
}Semantic roles & 50–950 ramp
primary
#D386EF
secondary
#DFF3D8
accent
#D90D43
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85