#E392FC#E392FC
#E392FC is a light, vivid purple. Relative luminance 0.439; OKLCH L 78.0% C 0.167 H 317.9°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #E392FC |
|---|---|
| RGB | rgb(227, 146, 252) |
| HSL | hsl(286, 95%, 78%) |
| HSV | hsv(286, 42%, 99%) |
| CMYK | cmyk(9.9%, 42.1%, 0%, 1.2%) |
| CIE-LAB | lab(72.17, 47.72, -40.69) |
| CIE-LCH | lch(72.17, 62.72, 319.55°) |
| OKLab | oklab(77.96% 0.1243 -0.1122) |
| OKLCH | oklch(77.96% 0.167 317.9) |
| XYZ | xyz(59.5257, 43.9187, 97.4181) |
| Luminance | 0.4392 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.56
Baby Purple
#CA9BF7
ΔE00 5.38
Lilac (survey)
#CEA2FD
ΔE00 6.04
Liliac
#C48EFD
ΔE00 6.13
Pastel Purple
#CAA0FF
ΔE00 6.48
Lavender Pink
#DD85D7
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E392FC #ABFC92
analogous
#AE92FC #E392FC #FC92E0
triadic
#E392FC #FCE392 #92FCE3
tetradic
#E392FC #FCAE92 #ABFC92 #92E0FC
square
#E392FC #FCAE92 #ABFC92 #92E0FC
split-complementary
#E392FC #E0FC92 #92FCAE
monochromatic
#C41BF9 #D456FA #E392FC #F2CEFE #F7E1FE
Accessibility & contrast
On white
2.15
#E392FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.78
#E392FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E392FC
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E392FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E392FC | 1.00 | 2.15 | 9.78 | 9.78 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81ACFF
Deuteranopia (green-blind)
#97B4F9
Tritanopia (blue-blind)
#E3A0BB
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #e392fc; /* rgb */ color: rgb(227, 146, 252); /* oklch */ color: oklch(78.0% 0.167 317.9);
Tailwind
colors: {
custom: {
50: '#edb3fd',
500: '#e392fc',
950: '#000000',
},
}SCSS
$custom: #e392fc; $custom-light: #edb3fd; $custom-dark: #000000;
JSON
{
"hex": "#e392fc",
"rgb": {
"r": 227,
"g": 146,
"b": 252
},
"hsl": {
"h": 285.849,
"s": 94.643,
"l": 78.039
},
"oklch": {
"l": 0.77956,
"c": 0.16748,
"h": 317.9
},
"luminance": 0.43917
}Semantic roles & 50–950 ramp
primary
#E392FC
secondary
#DDF6D5
accent
#E60036
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086