#EF8EF5#EF8EF5
#EF8EF5 is a light, vivid purple. Relative luminance 0.443; OKLCH L 78.3% C 0.174 H 325.0°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #EF8EF5 |
|---|---|
| RGB | rgb(239, 142, 245) |
| HSL | hsl(297, 84%, 76%) |
| HSV | hsv(297, 42%, 96%) |
| CMYK | cmyk(2.4%, 42%, 0%, 3.9%) |
| CIE-LAB | lab(72.42, 51.91, -36.39) |
| CIE-LCH | lch(72.42, 63.40, 324.97°) |
| OKLab | oklab(78.34% 0.1422 -0.0997) |
| OKLCH | oklch(78.34% 0.174 325) |
| XYZ | xyz(61.7496, 44.2920, 91.6651) |
| Luminance | 0.4429 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.51
Purply Pink
#F075E6
ΔE00 5.12
Lavender Pink
#DD85D7
ΔE00 5.13
Plum
#DDA0DD
ΔE00 7.35
Candy Pink
#FF63E9
ΔE00 7.61
Orchid
#DA70D6
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF8EF5 #94F58E
analogous
#BB8EF5 #EF8EF5 #F58EC7
triadic
#EF8EF5 #F5EF8E #8EF5EF
tetradic
#EF8EF5 #F5BB8E #94F58E #8EC7F5
square
#EF8EF5 #F5BB8E #94F58E #8EC7F5
split-complementary
#EF8EF5 #C7F58E #8EF5BB
monochromatic
#DF1EEB #E756F0 #EF8EF5 #F7C6FA #FBE3FD
Accessibility & contrast
On white
2.13
#EF8EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.86
#EF8EF5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EF8EF5
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF8EF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF8EF5 | 1.00 | 2.13 | 9.86 | 9.86 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84AAF9
Deuteranopia (green-blind)
#9EB6F2
Tritanopia (blue-blind)
#F399B6
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #ef8ef5; /* rgb */ color: rgb(239, 142, 245); /* oklch */ color: oklch(78.3% 0.174 325.0);
Tailwind
colors: {
custom: {
50: '#f6b1f8',
500: '#ef8ef5',
950: '#000000',
},
}SCSS
$custom: #ef8ef5; $custom-light: #f6b1f8; $custom-dark: #000000;
JSON
{
"hex": "#ef8ef5",
"rgb": {
"r": 239,
"g": 142,
"b": 245
},
"hsl": {
"h": 296.505,
"s": 83.74,
"l": 75.882
},
"oklch": {
"l": 0.78343,
"c": 0.17362,
"h": 325
},
"luminance": 0.44289
}Semantic roles & 50–950 ramp
primary
#EF8EF5
secondary
#D8F4D7
accent
#E00512
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085