#E462EC#E462EC
#E462EC is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.8% C 0.227 H 325.3°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #E462EC |
|---|---|
| RGB | rgb(228, 98, 236) |
| HSL | hsl(297, 78%, 65%) |
| HSV | hsv(297, 58%, 93%) |
| CMYK | cmyk(3.4%, 58.5%, 0%, 7.5%) |
| CIE-LAB | lab(62.75, 68.19, -46.68) |
| CIE-LCH | lch(62.75, 82.63, 325.61°) |
| OKLab | oklab(70.78% 0.1867 -0.1291) |
| OKLCH | oklch(70.78% 0.227 325.3) |
| XYZ | xyz(51.5018, 31.2884, 82.6672) |
| Luminance | 0.3129 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.38
Violet Pink
#FB5FFC
ΔE00 3.66
Orchid
#DA70D6
ΔE00 4.30
Heliotrope
#D94FF5
ΔE00 4.62
Candy Pink
#FF63E9
ΔE00 4.97
Purply Pink
#F075E6
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E462EC #6AEC62
analogous
#9F62EC #E462EC #EC62AF
triadic
#E462EC #ECE462 #62ECE4
tetradic
#E462EC #EC9F62 #6AEC62 #62AFEC
square
#E462EC #EC9F62 #6AEC62 #62AFEC
split-complementary
#E462EC #AFEC62 #62EC9F
monochromatic
#B317BD #DB2BE5 #E462EC #ED99F3 #F7CFF9
Accessibility & contrast
On white
2.89
#E462EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#E462EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E462EC
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E462EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E462EC | 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)
#4D8DF0
Deuteranopia (green-blind)
#7B9DE8
Tritanopia (blue-blind)
#E9759E
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #e462ec; /* rgb */ color: rgb(228, 98, 236); /* oklch */ color: oklch(70.8% 0.227 325.3);
Tailwind
colors: {
custom: {
50: '#f096f2',
500: '#e462ec',
950: '#000000',
},
}SCSS
$custom: #e462ec; $custom-light: #f096f2; $custom-dark: #000000;
JSON
{
"hex": "#e462ec",
"rgb": {
"r": 228,
"g": 98,
"b": 236
},
"hsl": {
"h": 296.522,
"s": 78.409,
"l": 65.49
},
"oklch": {
"l": 0.70778,
"c": 0.22698,
"h": 325.3
},
"luminance": 0.31285
}Semantic roles & 50–950 ramp
primary
#E462EC
secondary
#C0ECBE
accent
#DB0B17
background
#FFF9FE
surface
#FEF2FD
border
#D6CCD5
text
#170E17
muted
#857E85