#E262F8#E262F8
#E262F8 is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 71.2% C 0.236 H 321.5°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #E262F8 |
|---|---|
| RGB | rgb(226, 98, 248) |
| HSL | hsl(291, 91%, 68%) |
| HSV | hsv(291, 60%, 97%) |
| CMYK | cmyk(8.9%, 60.5%, 0%, 2.7%) |
| CIE-LAB | lab(63.08, 69.83, -52.82) |
| CIE-LCH | lch(63.08, 87.56, 322.90°) |
| OKLab | oklab(71.16% 0.1851 -0.147) |
| OKLCH | oklch(71.16% 0.236 321.5) |
| XYZ | xyz(52.6731, 31.6840, 92.1299) |
| Luminance | 0.3168 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.89
Violet Pink
#FB5FFC
ΔE00 3.92
Light Magenta
#FA5FF7
ΔE00 3.99
Bright Lilac
#C95EFB
ΔE00 4.81
Bright Lavender
#C760FF
ΔE00 5.22
Orchid
#DA70D6
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E262F8 #78F862
analogous
#9762F8 #E262F8 #F862C3
triadic
#E262F8 #F8E262 #62F8E2
tetradic
#E262F8 #F89762 #78F862 #62C3F8
square
#E262F8 #F89762 #78F862 #62C3F8
split-complementary
#E262F8 #C3F862 #62F897
monochromatic
#B80AD6 #D727F5 #E262F8 #ED9DFB #F8D7FD
Accessibility & contrast
On white
2.86
#E262F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.34
#E262F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E262F8
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E262F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E262F8 | 1.00 | 2.86 | 7.34 | 7.34 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#418FFD
Deuteranopia (green-blind)
#739EF4
Tritanopia (blue-blind)
#E479A4
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #e262f8; /* rgb */ color: rgb(226, 98, 248); /* oklch */ color: oklch(71.2% 0.236 321.5);
Tailwind
colors: {
custom: {
50: '#ee96fb',
500: '#e262f8',
950: '#000000',
},
}SCSS
$custom: #e262f8; $custom-light: #ee96fb; $custom-dark: #000000;
JSON
{
"hex": "#e262f8",
"rgb": {
"r": 226,
"g": 98,
"b": 248
},
"hsl": {
"h": 291.2,
"s": 91.463,
"l": 67.843
},
"oklch": {
"l": 0.71158,
"c": 0.23636,
"h": 321.5
},
"luminance": 0.31681
}Semantic roles & 50–950 ramp
primary
#E262F8
secondary
#CBF2C4
accent
#E60022
background
#FFF9FF
surface
#FEF2FF
border
#D6CCD7
text
#170E17
muted
#857E85