#E38DEC#E38DEC
#E38DEC is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.5% C 0.159 H 323.6°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #E38DEC |
|---|---|
| RGB | rgb(227, 141, 236) |
| HSL | hsl(294, 71%, 74%) |
| HSV | hsv(294, 40%, 93%) |
| CMYK | cmyk(3.8%, 40.3%, 0%, 7.5%) |
| CIE-LAB | lab(70.48, 47.25, -34.59) |
| CIE-LCH | lch(70.48, 58.56, 323.79°) |
| OKLab | oklab(76.47% 0.1283 -0.0947) |
| OKLCH | oklch(76.47% 0.159 323.6) |
| XYZ | xyz(56.3422, 41.4390, 84.3713) |
| Luminance | 0.4144 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.83
Lavender Pink
#DD85D7
ΔE00 3.71
Purply Pink
#F075E6
ΔE00 5.14
Plum
#DDA0DD
ΔE00 6.51
Orchid
#DA70D6
ΔE00 6.79
Baby Purple
#CA9BF7
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E38DEC #96EC8D
analogous
#B48DEC #E38DEC #EC8DC6
triadic
#E38DEC #ECE38D #8DECE3
tetradic
#E38DEC #ECB48D #96EC8D #8DC6EC
square
#E38DEC #ECB48D #96EC8D #8DC6EC
split-complementary
#E38DEC #C6EC8D #8DECB4
monochromatic
#C924DA #D659E3 #E38DEC #F0C1F5 #F9E5FB
Accessibility & contrast
On white
2.26
#E38DEC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.29
#E38DEC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E38DEC
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E38DEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E38DEC | 1.00 | 2.26 | 9.29 | 9.29 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83A6EF
Deuteranopia (green-blind)
#99B0E9
Tritanopia (blue-blind)
#E697B2
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #e38dec; /* rgb */ color: rgb(227, 141, 236); /* oklch */ color: oklch(76.5% 0.159 323.6);
Tailwind
colors: {
custom: {
50: '#edb0f2',
500: '#e38dec',
950: '#000000',
},
}SCSS
$custom: #e38dec; $custom-light: #edb0f2; $custom-dark: #000000;
JSON
{
"hex": "#e38dec",
"rgb": {
"r": 227,
"g": 141,
"b": 236
},
"hsl": {
"h": 294.316,
"s": 71.429,
"l": 73.922
},
"oklch": {
"l": 0.76471,
"c": 0.15949,
"h": 323.6
},
"luminance": 0.41437
}Semantic roles & 50–950 ramp
primary
#E38DEC
secondary
#DBF2D9
accent
#D31224
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085