#D396FD#D396FD
#D396FD is a light, vivid violet. Relative luminance 0.428; OKLCH L 77.0% C 0.155 H 310.4°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #D396FD |
|---|---|
| RGB | rgb(211, 150, 253) |
| HSL | hsl(276, 96%, 79%) |
| HSV | hsv(276, 41%, 99%) |
| CMYK | cmyk(16.6%, 40.7%, 0%, 0.8%) |
| CIE-LAB | lab(71.39, 41.23, -42.59) |
| CIE-LCH | lch(71.39, 59.28, 314.07°) |
| OKLab | oklab(77% 0.1005 -0.118) |
| OKLCH | oklch(77% 0.155 310.4) |
| XYZ | xyz(55.4967, 42.7543, 98.2383) |
| Luminance | 0.4275 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.40
Lilac (survey)
#CEA2FD
ΔE00 3.39
Pastel Purple
#CAA0FF
ΔE00 3.44
Liliac
#C48EFD
ΔE00 3.44
Lavender (survey)
#C79FEF
ΔE00 4.28
Mauve
#E0B0FF
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D396FD #C0FD96
analogous
#A096FD #D396FD #FD96F4
triadic
#D396FD #FDD396 #96FDD3
tetradic
#D396FD #FDA096 #C0FD96 #96F4FD
square
#D396FD #FDA096 #C0FD96 #96F4FD
split-complementary
#D396FD #F4FD96 #96FDA0
monochromatic
#A11EFB #BA5AFC #D396FD #ECD2FE #F2E1FE
Accessibility & contrast
On white
2.20
#D396FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.55
#D396FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D396FD
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D396FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D396FD | 1.00 | 2.20 | 9.55 | 9.55 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81ACFF
Deuteranopia (green-blind)
#90B0FA
Tritanopia (blue-blind)
#CEA5BE
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #d396fd; /* rgb */ color: rgb(211, 150, 253); /* oklch */ color: oklch(77.0% 0.155 310.4);
Tailwind
colors: {
custom: {
50: '#e2b6fe',
500: '#d396fd',
950: '#000000',
},
}SCSS
$custom: #d396fd; $custom-light: #e2b6fe; $custom-dark: #000000;
JSON
{
"hex": "#d396fd",
"rgb": {
"r": 211,
"g": 150,
"b": 253
},
"hsl": {
"h": 275.534,
"s": 96.262,
"l": 79.02
},
"oklch": {
"l": 0.77003,
"c": 0.15505,
"h": 310.4
},
"luminance": 0.42753
}Semantic roles & 50–950 ramp
primary
#D396FD
secondary
#E2F7D4
accent
#E6005E
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151118
muted
#848086