#E396FC#E396FC
#E396FC is a light, vivid purple. Relative luminance 0.452; OKLCH L 78.6% C 0.161 H 317.6°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #E396FC |
|---|---|
| RGB | rgb(227, 150, 252) |
| HSL | hsl(285, 94%, 79%) |
| HSV | hsv(285, 40%, 99%) |
| CMYK | cmyk(9.9%, 40.5%, 0%, 1.2%) |
| CIE-LAB | lab(73.01, 45.64, -39.40) |
| CIE-LCH | lch(73.01, 60.29, 319.20°) |
| OKLab | oklab(78.58% 0.1187 -0.1085) |
| OKLCH | oklch(78.58% 0.161 317.6) |
| XYZ | xyz(60.1531, 45.1736, 97.6272) |
| Luminance | 0.4517 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 5.01
Violet (CSS)
#EE82EE
ΔE00 5.16
Lilac (survey)
#CEA2FD
ΔE00 5.47
Pastel Purple
#CAA0FF
ΔE00 6.04
Lavender (survey)
#C79FEF
ΔE00 6.16
Liliac
#C48EFD
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E396FC #AFFC96
analogous
#B096FC #E396FC #FC96E2
triadic
#E396FC #FCE396 #96FCE3
tetradic
#E396FC #FCB096 #AFFC96 #96E2FC
square
#E396FC #FCB096 #AFFC96 #96E2FC
split-complementary
#E396FC #E2FC96 #96FCB0
monochromatic
#C31FF9 #D35BFA #E396FC #F3D2FE #F7E1FE
Accessibility & contrast
On white
2.09
#E396FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.03
#E396FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E396FC
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E396FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E396FC | 1.00 | 2.09 | 10.03 | 10.03 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#9AB6F9
Tritanopia (blue-blind)
#E3A3BD
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #e396fc; /* rgb */ color: rgb(227, 150, 252); /* oklch */ color: oklch(78.6% 0.161 317.6);
Tailwind
colors: {
custom: {
50: '#edb6fd',
500: '#e396fc',
950: '#000000',
},
}SCSS
$custom: #e396fc; $custom-light: #edb6fd; $custom-dark: #000000;
JSON
{
"hex": "#e396fc",
"rgb": {
"r": 227,
"g": 150,
"b": 252
},
"hsl": {
"h": 285.294,
"s": 94.444,
"l": 78.824
},
"oklch": {
"l": 0.7858,
"c": 0.16085,
"h": 317.6
},
"luminance": 0.45172
}Semantic roles & 50–950 ramp
primary
#E396FC
secondary
#DDF6D5
accent
#E60038
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085