#E18CF2#E18CF2
#E18CF2 is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.4% C 0.166 H 320.8°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #E18CF2 |
|---|---|
| RGB | rgb(225, 140, 242) |
| HSL | hsl(290, 80%, 75%) |
| HSV | hsv(290, 42%, 95%) |
| CMYK | cmyk(7%, 42.1%, 0%, 5.1%) |
| CIE-LAB | lab(70.30, 48.32, -38.18) |
| CIE-LCH | lch(70.30, 61.58, 321.68°) |
| OKLab | oklab(76.37% 0.1286 -0.105) |
| OKLCH | oklch(76.37% 0.166 320.8) |
| XYZ | xyz(56.4545, 41.1765, 88.9612) |
| Luminance | 0.4118 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.15
Lavender Pink
#DD85D7
ΔE00 4.77
Purply Pink
#F075E6
ΔE00 5.46
Baby Purple
#CA9BF7
ΔE00 6.27
Liliac
#C48EFD
ΔE00 6.68
Orchid
#DA70D6
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E18CF2 #9DF28C
analogous
#AE8CF2 #E18CF2 #F28CD0
triadic
#E18CF2 #F2E18C #8CF2E1
tetradic
#E18CF2 #F2AE8C #9DF28C #8CD0F2
square
#E18CF2 #F2AE8C #9DF28C #8CD0F2
split-complementary
#E18CF2 #D0F28C #8CF2AE
monochromatic
#C41EE6 #D355EC #E18CF2 #EFC3F8 #F8E4FC
Accessibility & contrast
On white
2.27
#E18CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.24
#E18CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E18CF2
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E18CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E18CF2 | 1.00 | 2.27 | 9.24 | 9.24 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7EA6F6
Deuteranopia (green-blind)
#95AFEF
Tritanopia (blue-blind)
#E398B4
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #e18cf2; /* rgb */ color: rgb(225, 140, 242); /* oklch */ color: oklch(76.4% 0.166 320.8);
Tailwind
colors: {
custom: {
50: '#ecaff6',
500: '#e18cf2',
950: '#000000',
},
}SCSS
$custom: #e18cf2; $custom-light: #ecaff6; $custom-dark: #000000;
JSON
{
"hex": "#e18cf2",
"rgb": {
"r": 225,
"g": 140,
"b": 242
},
"hsl": {
"h": 290,
"s": 79.687,
"l": 74.902
},
"oklch": {
"l": 0.76365,
"c": 0.16605,
"h": 320.8
},
"luminance": 0.41175
}Semantic roles & 50–950 ramp
primary
#E18CF2
secondary
#DCF4D7
accent
#DC0A2D
background
#FEFAFF
surface
#FDF5FE
border
#D5CFD6
text
#161117
muted
#848085