#E266F7#E266F7
#E266F7 is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 71.6% C 0.230 H 321.6°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #E266F7 |
|---|---|
| RGB | rgb(226, 102, 247) |
| HSL | hsl(291, 90%, 68%) |
| HSV | hsv(291, 59%, 97%) |
| CMYK | cmyk(8.5%, 58.7%, 0%, 3.1%) |
| CIE-LAB | lab(63.66, 67.91, -51.34) |
| CIE-LCH | lch(63.66, 85.14, 322.91°) |
| OKLab | oklab(71.57% 0.1803 -0.1428) |
| OKLCH | oklch(71.57% 0.23 321.6) |
| XYZ | xyz(52.9021, 32.3895, 91.4429) |
| Luminance | 0.3239 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 3.73
Light Magenta
#FA5FF7
ΔE00 3.80
Heliotrope
#D94FF5
ΔE00 4.54
Bright Lilac
#C95EFB
ΔE00 5.22
Orchid
#DA70D6
ΔE00 5.52
Bright Lavender
#C760FF
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E266F7 #7BF766
analogous
#9966F7 #E266F7 #F766C4
triadic
#E266F7 #F7E266 #66F7E2
tetradic
#E266F7 #F79966 #7BF766 #66C4F7
square
#E266F7 #F79966 #7BF766 #66C4F7
split-complementary
#E266F7 #C4F766 #66F799
monochromatic
#BA0BD7 #D72CF4 #E266F7 #EDA0FA #F8DAFD
Accessibility & contrast
On white
2.81
#E266F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.48
#E266F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E266F7
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E266F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E266F7 | 1.00 | 2.81 | 7.48 | 7.48 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4891FC
Deuteranopia (green-blind)
#769FF3
Tritanopia (blue-blind)
#E47CA5
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #e266f7; /* rgb */ color: rgb(226, 102, 247); /* oklch */ color: oklch(71.6% 0.230 321.6);
Tailwind
colors: {
custom: {
50: '#ee98fa',
500: '#e266f7',
950: '#000000',
},
}SCSS
$custom: #e266f7; $custom-light: #ee98fa; $custom-dark: #000000;
JSON
{
"hex": "#e266f7",
"rgb": {
"r": 226,
"g": 102,
"b": 247
},
"hsl": {
"h": 291.31,
"s": 90.062,
"l": 68.431
},
"oklch": {
"l": 0.71565,
"c": 0.23,
"h": 321.6
},
"luminance": 0.32387
}Semantic roles & 50–950 ramp
primary
#E266F7
secondary
#CDF2C7
accent
#E60021
background
#FFF9FF
surface
#FEF2FF
border
#D6CCD7
text
#170E17
muted
#857E85