#E18CFB#E18CFB
#E18CFB is a light, vivid purple. Relative luminance 0.417; OKLCH L 76.8% C 0.175 H 318.0°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #E18CFB |
|---|---|
| RGB | rgb(225, 140, 251) |
| HSL | hsl(286, 93%, 77%) |
| HSV | hsv(286, 44%, 98%) |
| CMYK | cmyk(10.4%, 44.2%, 0%, 1.6%) |
| CIE-LAB | lab(70.68, 50.07, -42.49) |
| CIE-LCH | lch(70.68, 65.67, 319.68°) |
| OKLab | oklab(76.78% 0.1302 -0.1174) |
| OKLCH | oklch(76.78% 0.175 318) |
| XYZ | xyz(57.8396, 41.7306, 96.2561) |
| Luminance | 0.4173 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.06
Liliac
#C48EFD
ΔE00 5.75
Baby Purple
#CA9BF7
ΔE00 5.86
Purply Pink
#F075E6
ΔE00 6.26
Lavender Pink
#DD85D7
ΔE00 6.28
Lilac (survey)
#CEA2FD
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E18CFB #A6FB8C
analogous
#AA8CFB #E18CFB #FB8CDE
triadic
#E18CFB #FBE18C #8CFBE1
tetradic
#E18CFB #FBAA8C #A6FB8C #8CDEFB
square
#E18CFB #FBAA8C #A6FB8C #8CDEFB
split-complementary
#E18CFB #DEFB8C #8CFBAA
monochromatic
#C216F7 #D251F9 #E18CFB #F0C7FD #F7E1FE
Accessibility & contrast
On white
2.25
#E18CFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.35
#E18CFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E18CFB
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E18CFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E18CFB | 1.00 | 2.25 | 9.35 | 9.35 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7AA7FF
Deuteranopia (green-blind)
#91B0F8
Tritanopia (blue-blind)
#E19BB8
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #e18cfb; /* rgb */ color: rgb(225, 140, 251); /* oklch */ color: oklch(76.8% 0.175 318.0);
Tailwind
colors: {
custom: {
50: '#ecaffd',
500: '#e18cfb',
950: '#000000',
},
}SCSS
$custom: #e18cfb; $custom-light: #ecaffd; $custom-dark: #000000;
JSON
{
"hex": "#e18cfb",
"rgb": {
"r": 225,
"g": 140,
"b": 251
},
"hsl": {
"h": 285.946,
"s": 93.277,
"l": 76.667
},
"oklch": {
"l": 0.7678,
"c": 0.17531,
"h": 318
},
"luminance": 0.41729
}Semantic roles & 50–950 ramp
primary
#E18CFB
secondary
#DDF6D5
accent
#E60036
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161117
muted
#848085