#E366F8#E366F8
#E366F8 is a light, highly saturated purple. Relative luminance 0.326; OKLCH L 71.7% C 0.231 H 321.7°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #E366F8 |
|---|---|
| RGB | rgb(227, 102, 248) |
| HSL | hsl(291, 91%, 69%) |
| HSV | hsv(291, 59%, 97%) |
| CMYK | cmyk(8.5%, 58.9%, 0%, 2.7%) |
| CIE-LAB | lab(63.85, 68.34, -51.60) |
| CIE-LCH | lch(63.85, 85.63, 322.95°) |
| OKLab | oklab(71.74% 0.1815 -0.1435) |
| OKLCH | oklch(71.74% 0.231 321.7) |
| XYZ | xyz(53.3713, 32.6136, 92.2725) |
| Luminance | 0.3261 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 3.60
Light Magenta
#FA5FF7
ΔE00 3.68
Heliotrope
#D94FF5
ΔE00 4.64
Bright Lilac
#C95EFB
ΔE00 5.33
Orchid
#DA70D6
ΔE00 5.62
Purply Pink
#F075E6
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E366F8 #7BF866
analogous
#9A66F8 #E366F8 #F866C4
triadic
#E366F8 #F8E366 #66F8E3
tetradic
#E366F8 #F89A66 #7BF866 #66C4F8
square
#E366F8 #F89A66 #7BF866 #66C4F8
split-complementary
#E366F8 #C4F866 #66F89A
monochromatic
#BC0ADA #D82BF5 #E366F8 #EEA1FB #F8DBFD
Accessibility & contrast
On white
2.79
#E366F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.52
#E366F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E366F8
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E366F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E366F8 | 1.00 | 2.79 | 7.52 | 7.52 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4892FD
Deuteranopia (green-blind)
#769FF4
Tritanopia (blue-blind)
#E57CA6
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #e366f8; /* rgb */ color: rgb(227, 102, 248); /* oklch */ color: oklch(71.7% 0.231 321.7);
Tailwind
colors: {
custom: {
50: '#ef98fb',
500: '#e366f8',
950: '#000000',
},
}SCSS
$custom: #e366f8; $custom-light: #ef98fb; $custom-dark: #000000;
JSON
{
"hex": "#e366f8",
"rgb": {
"r": 227,
"g": 102,
"b": 248
},
"hsl": {
"h": 291.37,
"s": 91.25,
"l": 68.627
},
"oklch": {
"l": 0.71742,
"c": 0.23136,
"h": 321.7
},
"luminance": 0.32611
}Semantic roles & 50–950 ramp
primary
#E366F8
secondary
#CDF3C7
accent
#E60021
background
#FFF9FF
surface
#FEF2FF
border
#D6CCD7
text
#170E17
muted
#857E85