#E378F2#E378F2
#E378F2 is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.7% C 0.199 H 322.6°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #E378F2 |
|---|---|
| RGB | rgb(227, 120, 242) |
| HSL | hsl(293, 82%, 71%) |
| HSV | hsv(293, 50%, 95%) |
| CMYK | cmyk(6.2%, 50.4%, 0%, 5.1%) |
| CIE-LAB | lab(66.66, 58.92, -43.86) |
| CIE-LCH | lch(66.66, 73.45, 323.33°) |
| OKLab | oklab(73.71% 0.1583 -0.1212) |
| OKLCH | oklch(73.71% 0.199 322.6) |
| XYZ | xyz(54.4204, 36.1771, 88.1035) |
| Luminance | 0.3618 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.44
Purply Pink
#F075E6
ΔE00 3.55
Light Magenta
#FA5FF7
ΔE00 4.53
Violet Pink
#FB5FFC
ΔE00 4.58
Orchid
#DA70D6
ΔE00 4.60
Candy Pink
#FF63E9
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E378F2 #87F278
analogous
#A678F2 #E378F2 #F278C4
triadic
#E378F2 #F2E378 #78F2E3
tetradic
#E378F2 #F2A678 #87F278 #78C4F2
square
#E378F2 #F2A678 #87F278 #78C4F2
split-complementary
#E378F2 #C4F278 #78F2A6
monochromatic
#C215DB #D740ED #E378F2 #EFB0F7 #F9E3FC
Accessibility & contrast
On white
2.55
#E378F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.24
#E378F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E378F2
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E378F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E378F2 | 1.00 | 2.55 | 8.24 | 8.24 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#669AF6
Deuteranopia (green-blind)
#87A6EF
Tritanopia (blue-blind)
#E688AA
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #e378f2; /* rgb */ color: rgb(227, 120, 242); /* oklch */ color: oklch(73.7% 0.199 322.6);
Tailwind
colors: {
custom: {
50: '#eea3f7',
500: '#e378f2',
950: '#000000',
},
}SCSS
$custom: #e378f2; $custom-light: #eea3f7; $custom-dark: #000000;
JSON
{
"hex": "#e378f2",
"rgb": {
"r": 227,
"g": 120,
"b": 242
},
"hsl": {
"h": 292.623,
"s": 82.432,
"l": 70.98
},
"oklch": {
"l": 0.73707,
"c": 0.19936,
"h": 322.6
},
"luminance": 0.36175
}Semantic roles & 50–950 ramp
primary
#E378F2
secondary
#D7F3D3
accent
#DF0721
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#170F17
muted
#857F85