#E266EC#E266EC
#E266EC is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 71.0% C 0.220 H 324.6°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #E266EC |
|---|---|
| RGB | rgb(226, 102, 236) |
| HSL | hsl(296, 78%, 66%) |
| HSV | hsv(296, 57%, 93%) |
| CMYK | cmyk(4.2%, 56.8%, 0%, 7.5%) |
| CIE-LAB | lab(63.12, 65.94, -46.11) |
| CIE-LCH | lch(63.12, 80.47, 325.04°) |
| OKLab | oklab(70.99% 0.1796 -0.1276) |
| OKLCH | oklch(70.99% 0.22 324.6) |
| XYZ | xyz(51.2545, 31.7304, 82.7655) |
| Luminance | 0.3173 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.55
Violet Pink
#FB5FFC
ΔE00 3.80
Orchid
#DA70D6
ΔE00 4.00
Purply Pink
#F075E6
ΔE00 4.72
Heliotrope
#D94FF5
ΔE00 4.96
Candy Pink
#FF63E9
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E266EC #70EC66
analogous
#9F66EC #E266EC #EC66B3
triadic
#E266EC #ECE266 #66ECE2
tetradic
#E266EC #EC9F66 #70EC66 #66B3EC
square
#E266EC #EC9F66 #70EC66 #66B3EC
split-complementary
#E266EC #B3EC66 #66EC9F
monochromatic
#B318C0 #D830E5 #E266EC #EC9CF3 #F7D3FA
Accessibility & contrast
On white
2.86
#E266EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.35
#E266EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E266EC
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E266EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E266EC | 1.00 | 2.86 | 7.35 | 7.35 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#528FF0
Deuteranopia (green-blind)
#7C9EE8
Tritanopia (blue-blind)
#E678A0
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #e266ec; /* rgb */ color: rgb(226, 102, 236); /* oklch */ color: oklch(71.0% 0.220 324.6);
Tailwind
colors: {
custom: {
50: '#ee98f2',
500: '#e266ec',
950: '#000000',
},
}SCSS
$custom: #e266ec; $custom-light: #ee98f2; $custom-dark: #000000;
JSON
{
"hex": "#e266ec",
"rgb": {
"r": 226,
"g": 102,
"b": 236
},
"hsl": {
"h": 295.522,
"s": 77.907,
"l": 66.275
},
"oklch": {
"l": 0.70992,
"c": 0.22031,
"h": 324.6
},
"luminance": 0.31728
}Semantic roles & 50–950 ramp
primary
#E266EC
secondary
#C4EDC1
accent
#DA0B1B
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E17
muted
#857E85