#D396FC#D396FC
#D396FC is a light, vivid violet. Relative luminance 0.427; OKLCH L 77.0% C 0.154 H 310.7°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #D396FC |
|---|---|
| RGB | rgb(211, 150, 252) |
| HSL | hsl(276, 94%, 79%) |
| HSV | hsv(276, 40%, 99%) |
| CMYK | cmyk(16.3%, 40.5%, 0%, 1.2%) |
| CIE-LAB | lab(71.34, 41.02, -42.11) |
| CIE-LCH | lch(71.34, 58.79, 314.25°) |
| OKLab | oklab(76.96% 0.1004 -0.1167) |
| OKLCH | oklch(76.96% 0.154 310.7) |
| XYZ | xyz(55.3379, 42.6907, 97.4015) |
| Luminance | 0.4269 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.37
Lilac (survey)
#CEA2FD
ΔE00 3.39
Pastel Purple
#CAA0FF
ΔE00 3.48
Liliac
#C48EFD
ΔE00 3.53
Lavender (survey)
#C79FEF
ΔE00 4.20
Mauve
#E0B0FF
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D396FC #BFFC96
analogous
#A096FC #D396FC #FC96F2
triadic
#D396FC #FCD396 #96FCD3
tetradic
#D396FC #FCA096 #BFFC96 #96F2FC
square
#D396FC #FCA096 #BFFC96 #96F2FC
split-complementary
#D396FC #F2FC96 #96FCA0
monochromatic
#A11FF9 #BA5BFA #D396FC #ECD2FE #F3E1FE
Accessibility & contrast
On white
2.20
#D396FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.54
#D396FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D396FC
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D396FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D396FC | 1.00 | 2.20 | 9.54 | 9.54 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81ACFF
Deuteranopia (green-blind)
#90B0F9
Tritanopia (blue-blind)
#CEA5BD
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #d396fc; /* rgb */ color: rgb(211, 150, 252); /* oklch */ color: oklch(77.0% 0.154 310.7);
Tailwind
colors: {
custom: {
50: '#e2b6fd',
500: '#d396fc',
950: '#000000',
},
}SCSS
$custom: #d396fc; $custom-light: #e2b6fd; $custom-dark: #000000;
JSON
{
"hex": "#d396fc",
"rgb": {
"r": 211,
"g": 150,
"b": 252
},
"hsl": {
"h": 275.882,
"s": 94.444,
"l": 78.824
},
"oklch": {
"l": 0.76956,
"c": 0.1539,
"h": 310.7
},
"luminance": 0.4269
}Semantic roles & 50–950 ramp
primary
#D396FC
secondary
#E2F6D5
accent
#E6005C
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151118
muted
#848086