#E262F2#E262F2
#E262F2 is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.8% C 0.231 H 323.1°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #E262F2 |
|---|---|
| RGB | rgb(226, 98, 242) |
| HSL | hsl(293, 85%, 67%) |
| HSV | hsv(293, 60%, 95%) |
| CMYK | cmyk(6.6%, 59.5%, 0%, 5.1%) |
| CIE-LAB | lab(62.77, 68.75, -49.99) |
| CIE-LCH | lch(62.77, 85.00, 323.98°) |
| OKLab | oklab(70.84% 0.1848 -0.1388) |
| OKLCH | oklch(70.84% 0.231 323.1) |
| XYZ | xyz(51.7572, 31.3177, 87.3059) |
| Luminance | 0.3131 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.75
Violet Pink
#FB5FFC
ΔE00 3.83
Heliotrope
#D94FF5
ΔE00 4.02
Orchid
#DA70D6
ΔE00 5.13
Bright Lilac
#C95EFB
ΔE00 5.24
Bright Lavender
#C760FF
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E262F2 #72F262
analogous
#9A62F2 #E262F2 #F262BA
triadic
#E262F2 #F2E262 #62F2E2
tetradic
#E262F2 #F29A62 #72F262 #62BAF2
square
#E262F2 #F29A62 #72F262 #62BAF2
split-complementary
#E262F2 #BAF262 #62F29A
monochromatic
#B411C9 #D829ED #E262F2 #EC9BF7 #F7D3FB
Accessibility & contrast
On white
2.89
#E262F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#E262F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E262F2
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E262F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E262F2 | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#478EF6
Deuteranopia (green-blind)
#769DEE
Tritanopia (blue-blind)
#E577A1
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #e262f2; /* rgb */ color: rgb(226, 98, 242); /* oklch */ color: oklch(70.8% 0.231 323.1);
Tailwind
colors: {
custom: {
50: '#ee96f7',
500: '#e262f2',
950: '#000000',
},
}SCSS
$custom: #e262f2; $custom-light: #ee96f7; $custom-dark: #000000;
JSON
{
"hex": "#e262f2",
"rgb": {
"r": 226,
"g": 98,
"b": 242
},
"hsl": {
"h": 293.333,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.70837,
"c": 0.23113,
"h": 323.1
},
"luminance": 0.31315
}Semantic roles & 50–950 ramp
primary
#E262F2
secondary
#C6EFC1
accent
#E1041D
background
#FFF9FF
surface
#FEF2FF
border
#D6CCD7
text
#170E17
muted
#857E85