#EF8EE2#EF8EE2
#EF8EE2 is a light, vivid purple. Relative luminance 0.432; OKLCH L 77.5% C 0.156 H 332.0°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #EF8EE2 |
|---|---|
| RGB | rgb(239, 142, 226) |
| HSL | hsl(308, 75%, 75%) |
| HSV | hsv(308, 41%, 94%) |
| CMYK | cmyk(0%, 40.6%, 5.4%, 6.3%) |
| CIE-LAB | lab(71.68, 48.56, -27.13) |
| CIE-LCH | lch(71.68, 55.63, 330.81°) |
| OKLab | oklab(77.55% 0.1381 -0.0734) |
| OKLCH | oklch(77.55% 0.156 332) |
| XYZ | xyz(58.9965, 43.1908, 77.1659) |
| Luminance | 0.4319 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 3.60
Violet (CSS)
#EE82EE
ΔE00 3.99
Purply Pink
#F075E6
ΔE00 5.42
Plum
#DDA0DD
ΔE00 5.76
Bubblegum Pink
#FE83CC
ΔE00 5.79
Orchid
#DA70D6
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF8EE2 #8EEF9B
analogous
#CB8EEF #EF8EE2 #EF8EB2
triadic
#EF8EE2 #E2EF8E #8EE2EF
tetradic
#EF8EE2 #EFCB8E #8EEF9B #8EB2EF
square
#EF8EE2 #EFCB8E #8EEF9B #8EB2EF
split-complementary
#EF8EE2 #B2EF8E #8EEFCB
monochromatic
#E023C6 #E758D4 #EF8EE2 #F7C4F0 #FBE4F8
Accessibility & contrast
On white
2.18
#EF8EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.64
#EF8EE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EF8EE2
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF8EE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF8EE2 | 1.00 | 2.18 | 9.64 | 9.64 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8CA7E5
Deuteranopia (green-blind)
#A5B5DF
Tritanopia (blue-blind)
#F794AE
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #ef8ee2; /* rgb */ color: rgb(239, 142, 226); /* oklch */ color: oklch(77.5% 0.156 332.0);
Tailwind
colors: {
custom: {
50: '#f6b1eb',
500: '#ef8ee2',
950: '#000000',
},
}SCSS
$custom: #ef8ee2; $custom-light: #f6b1eb; $custom-dark: #000000;
JSON
{
"hex": "#ef8ee2",
"rgb": {
"r": 239,
"g": 142,
"b": 226
},
"hsl": {
"h": 308.041,
"s": 75.194,
"l": 74.706
},
"oklch": {
"l": 0.77546,
"c": 0.15638,
"h": 332
},
"luminance": 0.43188
}Semantic roles & 50–950 ramp
primary
#EF8EE2
secondary
#D8F3DC
accent
#D7290E
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084