#E366EB#E366EB
#E366EB is a light, highly saturated purple. Relative luminance 0.318; OKLCH L 71.1% C 0.220 H 325.2°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #E366EB |
|---|---|
| RGB | rgb(227, 102, 235) |
| HSL | hsl(296, 77%, 66%) |
| HSV | hsv(296, 57%, 92%) |
| CMYK | cmyk(3.4%, 56.6%, 0%, 7.8%) |
| CIE-LAB | lab(63.21, 66.02, -45.41) |
| CIE-LCH | lch(63.21, 80.13, 325.48°) |
| OKLab | oklab(71.07% 0.1806 -0.1255) |
| OKLCH | oklch(71.07% 0.22 325.2) |
| XYZ | xyz(51.4241, 31.8347, 82.0172) |
| Luminance | 0.3183 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.42
Violet Pink
#FB5FFC
ΔE00 3.71
Orchid
#DA70D6
ΔE00 3.84
Purply Pink
#F075E6
ΔE00 4.50
Candy Pink
#FF63E9
ΔE00 4.82
Heliotrope
#D94FF5
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E366EB #6EEB66
analogous
#A066EB #E366EB #EB66B0
triadic
#E366EB #EBE366 #66EBE3
tetradic
#E366EB #EBA066 #6EEB66 #66B0EB
square
#E366EB #EBA066 #6EEB66 #66B0EB
split-complementary
#E366EB #B0EB66 #66EBA0
monochromatic
#B419BE #D930E4 #E366EB #ED9CF2 #F7D2F9
Accessibility & contrast
On white
2.85
#E366EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.37
#E366EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E366EB
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E366EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E366EB | 1.00 | 2.85 | 7.37 | 7.37 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#538FEF
Deuteranopia (green-blind)
#7E9EE7
Tritanopia (blue-blind)
#E8779F
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #e366eb; /* rgb */ color: rgb(227, 102, 235); /* oklch */ color: oklch(71.1% 0.220 325.2);
Tailwind
colors: {
custom: {
50: '#ef98f2',
500: '#e366eb',
950: '#000000',
},
}SCSS
$custom: #e366eb; $custom-light: #ef98f2; $custom-dark: #000000;
JSON
{
"hex": "#e366eb",
"rgb": {
"r": 227,
"g": 102,
"b": 235
},
"hsl": {
"h": 296.391,
"s": 76.879,
"l": 66.078
},
"oklch": {
"l": 0.71067,
"c": 0.21996,
"h": 325.2
},
"luminance": 0.31832
}Semantic roles & 50–950 ramp
primary
#E366EB
secondary
#C3ECC1
accent
#D90C19
background
#FFF9FE
surface
#FEF2FD
border
#D6CCD5
text
#170E17
muted
#857E85