#D387EB#D387EB
#D387EB is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.8% C 0.160 H 317.7°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #D387EB |
|---|---|
| RGB | rgb(211, 135, 235) |
| HSL | hsl(286, 71%, 73%) |
| HSV | hsv(286, 43%, 92%) |
| CMYK | cmyk(10.2%, 42.6%, 0%, 7.8%) |
| CIE-LAB | lab(67.41, 45.50, -38.96) |
| CIE-LCH | lch(67.41, 59.90, 319.43°) |
| OKLab | oklab(73.76% 0.1183 -0.1075) |
| OKLCH | oklch(73.76% 0.16 317.7) |
| XYZ | xyz(50.5212, 37.1765, 83.0956) |
| Luminance | 0.3718 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.77
Lavender Pink
#DD85D7
ΔE00 5.00
Liliac
#C48EFD
ΔE00 5.31
Baby Purple
#CA9BF7
ΔE00 5.81
Orchid
#DA70D6
ΔE00 6.11
Purply Pink
#F075E6
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D387EB #9FEB87
analogous
#A187EB #D387EB #EB87D1
triadic
#D387EB #EBD387 #87EBD3
tetradic
#D387EB #EBA187 #9FEB87 #87D1EB
square
#D387EB #EBA187 #9FEB87 #87D1EB
split-complementary
#D387EB #D1EB87 #87EBA1
monochromatic
#AA23D4 #C053E2 #D387EB #E6BBF4 #F5E5FB
Accessibility & contrast
On white
2.49
#D387EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.44
#D387EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D387EB
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D387EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D387EB | 1.00 | 2.49 | 8.44 | 8.44 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#779FEF
Deuteranopia (green-blind)
#8BA7E8
Tritanopia (blue-blind)
#D394AE
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #d387eb; /* rgb */ color: rgb(211, 135, 235); /* oklch */ color: oklch(73.8% 0.160 317.7);
Tailwind
colors: {
custom: {
50: '#e2abf2',
500: '#d387eb',
950: '#000000',
},
}SCSS
$custom: #d387eb; $custom-light: #e2abf2; $custom-dark: #000000;
JSON
{
"hex": "#d387eb",
"rgb": {
"r": 211,
"g": 135,
"b": 235
},
"hsl": {
"h": 285.6,
"s": 71.429,
"l": 72.549
},
"oklch": {
"l": 0.7376,
"c": 0.15986,
"h": 317.7
},
"luminance": 0.37175
}Semantic roles & 50–950 ramp
primary
#D387EB
secondary
#DFF2D9
accent
#D31240
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85