#D396F2#D396F2
#D396F2 is a light, vivid violet. Relative luminance 0.421; OKLCH L 76.5% C 0.142 H 313.7°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #D396F2 |
|---|---|
| RGB | rgb(211, 150, 242) |
| HSL | hsl(280, 78%, 77%) |
| HSV | hsv(280, 38%, 95%) |
| CMYK | cmyk(12.8%, 38%, 0%, 5.1%) |
| CIE-LAB | lab(70.92, 38.93, -37.33) |
| CIE-LCH | lch(70.92, 53.93, 316.20°) |
| OKLab | oklab(76.5% 0.0984 -0.1029) |
| OKLCH | oklch(76.5% 0.142 313.7) |
| XYZ | xyz(53.7947, 42.0735, 89.2743) |
| Luminance | 0.4207 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.79
Lavender (survey)
#C79FEF
ΔE00 3.76
Lilac (survey)
#CEA2FD
ΔE00 3.88
Pastel Purple
#CAA0FF
ΔE00 4.35
Liliac
#C48EFD
ΔE00 4.78
Pale Purple
#B790D4
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D396F2 #B5F296
analogous
#A596F2 #D396F2 #F296E3
triadic
#D396F2 #F2D396 #96F2D3
tetradic
#D396F2 #F2A596 #B5F296 #96E3F2
square
#D396F2 #F2A596 #B5F296 #96E3F2
split-complementary
#D396F2 #E3F296 #96F2A5
monochromatic
#A529E5 #BC60EB #D396F2 #EACCF9 #F4E4FC
Accessibility & contrast
On white
2.23
#D396F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.41
#D396F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D396F2
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D396F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D396F2 | 1.00 | 2.23 | 9.41 | 9.41 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86AAF5
Deuteranopia (green-blind)
#95AFEF
Tritanopia (blue-blind)
#D1A3B9
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #d396f2; /* rgb */ color: rgb(211, 150, 242); /* oklch */ color: oklch(76.5% 0.142 313.7);
Tailwind
colors: {
custom: {
50: '#e2b6f6',
500: '#d396f2',
950: '#000000',
},
}SCSS
$custom: #d396f2; $custom-light: #e2b6f6; $custom-dark: #000000;
JSON
{
"hex": "#d396f2",
"rgb": {
"r": 211,
"g": 150,
"b": 242
},
"hsl": {
"h": 279.783,
"s": 77.966,
"l": 76.863
},
"oklch": {
"l": 0.76498,
"c": 0.14238,
"h": 313.7
},
"luminance": 0.42072
}Semantic roles & 50–950 ramp
primary
#D396F2
secondary
#E1F3D8
accent
#DA0B51
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085