#D38EFD#D38EFD
#D38EFD is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.7% C 0.168 H 311.6°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #D38EFD |
|---|---|
| RGB | rgb(211, 142, 253) |
| HSL | hsl(277, 97%, 77%) |
| HSV | hsv(277, 44%, 99%) |
| CMYK | cmyk(16.6%, 43.9%, 0%, 0.8%) |
| CIE-LAB | lab(69.67, 45.50, -45.27) |
| CIE-LCH | lch(69.67, 64.19, 315.15°) |
| OKLab | oklab(75.72% 0.1116 -0.1257) |
| OKLCH | oklch(75.72% 0.168 311.6) |
| XYZ | xyz(54.2635, 40.2877, 97.8272) |
| Luminance | 0.4029 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.95
Baby Purple
#CA9BF7
ΔE00 3.99
Pastel Purple
#CAA0FF
ΔE00 5.09
Lilac (survey)
#CEA2FD
ΔE00 5.24
Lavender (survey)
#C79FEF
ΔE00 5.87
Light Purple
#BF77F6
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D38EFD #B8FD8E
analogous
#9B8EFD #D38EFD #FD8EF0
triadic
#D38EFD #FDD38E #8EFDD3
tetradic
#D38EFD #FD9B8E #B8FD8E #8EF0FD
square
#D38EFD #FD9B8E #B8FD8E #8EF0FD
split-complementary
#D38EFD #F0FD8E #8EFD9B
monochromatic
#A416FB #BC52FC #D38EFD #EACAFE #F3E1FE
Accessibility & contrast
On white
2.32
#D38EFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.06
#D38EFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D38EFD
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D38EFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D38EFD | 1.00 | 2.32 | 9.06 | 9.06 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#76A7FF
Deuteranopia (green-blind)
#88ACFA
Tritanopia (blue-blind)
#CF9FBA
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #d38efd; /* rgb */ color: rgb(211, 142, 253); /* oklch */ color: oklch(75.7% 0.168 311.6);
Tailwind
colors: {
custom: {
50: '#e2b0fe',
500: '#d38efd',
950: '#000000',
},
}SCSS
$custom: #d38efd; $custom-light: #e2b0fe; $custom-dark: #000000;
JSON
{
"hex": "#d38efd",
"rgb": {
"r": 211,
"g": 142,
"b": 253
},
"hsl": {
"h": 277.297,
"s": 96.522,
"l": 77.451
},
"oklch": {
"l": 0.75716,
"c": 0.16812,
"h": 311.6
},
"luminance": 0.40287
}Semantic roles & 50–950 ramp
primary
#D38EFD
secondary
#E1F7D4
accent
#E60057
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161118
muted
#848086