#E162FB#E162FB
#E162FB is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 71.2% C 0.239 H 320.5°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #E162FB |
|---|---|
| RGB | rgb(225, 98, 251) |
| HSL | hsl(290, 95%, 68%) |
| HSV | hsv(290, 61%, 98%) |
| CMYK | cmyk(10.4%, 61%, 0%, 1.6%) |
| CIE-LAB | lab(63.10, 70.14, -54.45) |
| CIE-LCH | lch(63.10, 88.79, 322.18°) |
| OKLab | oklab(71.2% 0.184 -0.1518) |
| OKLCH | oklch(71.2% 0.239 320.5) |
| XYZ | xyz(52.8295, 31.7104, 94.5861) |
| Luminance | 0.3171 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.81
Violet Pink
#FB5FFC
ΔE00 4.20
Light Magenta
#FA5FF7
ΔE00 4.35
Bright Lilac
#C95EFB
ΔE00 4.48
Bright Lavender
#C760FF
ΔE00 4.85
Easter Purple
#C071FE
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E162FB #7CFB62
analogous
#9462FB #E162FB #FB62C8
triadic
#E162FB #FBE162 #62FBE1
tetradic
#E162FB #FB9462 #7CFB62 #62C8FB
square
#E162FB #FB9462 #7CFB62 #62C8FB
split-complementary
#E162FB #C8FB62 #62FB94
monochromatic
#B806DD #D626F9 #E162FB #EC9EFD #F8D9FE
Accessibility & contrast
On white
2.86
#E162FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.34
#E162FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E162FB
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E162FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E162FB | 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)
#3C90FF
Deuteranopia (green-blind)
#709DF7
Tritanopia (blue-blind)
#E27BA6
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #e162fb; /* rgb */ color: rgb(225, 98, 251); /* oklch */ color: oklch(71.2% 0.239 320.5);
Tailwind
colors: {
custom: {
50: '#ee96fd',
500: '#e162fb',
950: '#000000',
},
}SCSS
$custom: #e162fb; $custom-light: #ee96fd; $custom-dark: #000000;
JSON
{
"hex": "#e162fb",
"rgb": {
"r": 225,
"g": 98,
"b": 251
},
"hsl": {
"h": 289.804,
"s": 95.031,
"l": 68.431
},
"oklch": {
"l": 0.71197,
"c": 0.23855,
"h": 320.5
},
"luminance": 0.31708
}Semantic roles & 50–950 ramp
primary
#E162FB
secondary
#CDF3C5
accent
#E60027
background
#FFF9FF
surface
#FEF2FF
border
#D6CCD7
text
#170E18
muted
#857E86