#E366F2#E366F2
#E366F2 is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.4% C 0.226 H 323.3°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #E366F2 |
|---|---|
| RGB | rgb(227, 102, 242) |
| HSL | hsl(294, 84%, 67%) |
| HSV | hsv(294, 58%, 95%) |
| CMYK | cmyk(6.2%, 57.9%, 0%, 5.1%) |
| CIE-LAB | lab(63.55, 67.26, -48.76) |
| CIE-LCH | lch(63.55, 83.07, 324.06°) |
| OKLab | oklab(71.43% 0.1812 -0.1352) |
| OKLCH | oklch(71.43% 0.226 323.3) |
| XYZ | xyz(52.4554, 32.2472, 87.4485) |
| Luminance | 0.3224 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.43
Violet Pink
#FB5FFC
ΔE00 3.51
Heliotrope
#D94FF5
ΔE00 4.77
Orchid
#DA70D6
ΔE00 4.79
Purply Pink
#F075E6
ΔE00 5.09
Candy Pink
#FF63E9
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E366F2 #75F266
analogous
#9D66F2 #E366F2 #F266BB
triadic
#E366F2 #F2E366 #66F2E3
tetradic
#E366F2 #F29D66 #75F266 #66BBF2
square
#E366F2 #F29D66 #75F266 #66BBF2
split-complementary
#E366F2 #BBF266 #66F29D
monochromatic
#B811CC #D92EED #E366F2 #ED9EF7 #F8D7FC
Accessibility & contrast
On white
2.82
#E366F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.45
#E366F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E366F2
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E366F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E366F2 | 1.00 | 2.82 | 7.45 | 7.45 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D90F6
Deuteranopia (green-blind)
#7A9FEE
Tritanopia (blue-blind)
#E77AA3
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #e366f2; /* rgb */ color: rgb(227, 102, 242); /* oklch */ color: oklch(71.4% 0.226 323.3);
Tailwind
colors: {
custom: {
50: '#ef98f7',
500: '#e366f2',
950: '#000000',
},
}SCSS
$custom: #e366f2; $custom-light: #ef98f7; $custom-dark: #000000;
JSON
{
"hex": "#e366f2",
"rgb": {
"r": 227,
"g": 102,
"b": 242
},
"hsl": {
"h": 293.571,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.71426,
"c": 0.22606,
"h": 323.3
},
"luminance": 0.32244
}Semantic roles & 50–950 ramp
primary
#E366F2
secondary
#C9F0C4
accent
#E1051C
background
#FFF9FF
surface
#FEF2FF
border
#D6CCD7
text
#170E17
muted
#857E85