#EF8EF4#EF8EF4
#EF8EF4 is a light, vivid purple. Relative luminance 0.442; OKLCH L 78.3% C 0.173 H 325.3°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #EF8EF4 |
|---|---|
| RGB | rgb(239, 142, 244) |
| HSL | hsl(297, 82%, 76%) |
| HSV | hsv(297, 42%, 96%) |
| CMYK | cmyk(2%, 41.8%, 0%, 4.3%) |
| CIE-LAB | lab(72.38, 51.73, -35.91) |
| CIE-LCH | lch(72.38, 62.97, 325.23°) |
| OKLab | oklab(78.3% 0.142 -0.0983) |
| OKLCH | oklch(78.3% 0.173 325.3) |
| XYZ | xyz(61.5973, 44.2311, 90.8633) |
| Luminance | 0.4423 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.48
Lavender Pink
#DD85D7
ΔE00 5.00
Purply Pink
#F075E6
ΔE00 5.07
Plum
#DDA0DD
ΔE00 7.24
Candy Pink
#FF63E9
ΔE00 7.58
Orchid
#DA70D6
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF8EF4 #93F48E
analogous
#BC8EF4 #EF8EF4 #F48EC6
triadic
#EF8EF4 #F4EF8E #8EF4EF
tetradic
#EF8EF4 #F4BC8E #93F48E #8EC6F4
square
#EF8EF4 #F4BC8E #93F48E #8EC6F4
split-complementary
#EF8EF4 #C6F48E #8EF4BC
monochromatic
#DF1EE9 #E756EF #EF8EF4 #F7C6F9 #FBE3FC
Accessibility & contrast
On white
2.13
#EF8EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.85
#EF8EF4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EF8EF4
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF8EF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF8EF4 | 1.00 | 2.13 | 9.85 | 9.85 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84AAF8
Deuteranopia (green-blind)
#9EB6F1
Tritanopia (blue-blind)
#F499B6
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #ef8ef4; /* rgb */ color: rgb(239, 142, 244); /* oklch */ color: oklch(78.3% 0.173 325.3);
Tailwind
colors: {
custom: {
50: '#f6b1f8',
500: '#ef8ef4',
950: '#000000',
},
}SCSS
$custom: #ef8ef4; $custom-light: #f6b1f8; $custom-dark: #000000;
JSON
{
"hex": "#ef8ef4",
"rgb": {
"r": 239,
"g": 142,
"b": 244
},
"hsl": {
"h": 297.059,
"s": 82.258,
"l": 75.686
},
"oklch": {
"l": 0.78299,
"c": 0.17269,
"h": 325.3
},
"luminance": 0.44228
}Semantic roles & 50–950 ramp
primary
#EF8EF4
secondary
#D8F4D7
accent
#DF0711
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085