#EF8EF2#EF8EF2
#EF8EF2 is a light, vivid purple. Relative luminance 0.441; OKLCH L 78.2% C 0.171 H 326.0°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #EF8EF2 |
|---|---|
| RGB | rgb(239, 142, 242) |
| HSL | hsl(298, 79%, 75%) |
| HSV | hsv(298, 41%, 95%) |
| CMYK | cmyk(1.2%, 41.3%, 0%, 5.1%) |
| CIE-LAB | lab(72.30, 51.37, -34.94) |
| CIE-LCH | lch(72.30, 62.13, 325.77°) |
| OKLab | oklab(78.21% 0.1416 -0.0956) |
| OKLCH | oklch(78.21% 0.171 326) |
| XYZ | xyz(61.2953, 44.1103, 89.2726) |
| Luminance | 0.4411 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.45
Lavender Pink
#DD85D7
ΔE00 4.74
Purply Pink
#F075E6
ΔE00 4.99
Plum
#DDA0DD
ΔE00 7.02
Candy Pink
#FF63E9
ΔE00 7.54
Orchid
#DA70D6
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF8EF2 #91F28E
analogous
#BD8EF2 #EF8EF2 #F28EC3
triadic
#EF8EF2 #F2EF8E #8EF2EF
tetradic
#EF8EF2 #F2BD8E #91F28E #8EC3F2
square
#EF8EF2 #F2BD8E #91F28E #8EC3F2
split-complementary
#EF8EF2 #C3F28E #8EF2BD
monochromatic
#DF20E5 #E757EC #EF8EF2 #F7C5F8 #FBE4FC
Accessibility & contrast
On white
2.14
#EF8EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.82
#EF8EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EF8EF2
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF8EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF8EF2 | 1.00 | 2.14 | 9.82 | 9.82 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85AAF6
Deuteranopia (green-blind)
#9FB6EF
Tritanopia (blue-blind)
#F498B5
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #ef8ef2; /* rgb */ color: rgb(239, 142, 242); /* oklch */ color: oklch(78.2% 0.171 326.0);
Tailwind
colors: {
custom: {
50: '#f6b1f6',
500: '#ef8ef2',
950: '#000000',
},
}SCSS
$custom: #ef8ef2; $custom-light: #f6b1f6; $custom-dark: #000000;
JSON
{
"hex": "#ef8ef2",
"rgb": {
"r": 239,
"g": 142,
"b": 242
},
"hsl": {
"h": 298.2,
"s": 79.365,
"l": 75.294
},
"oklch": {
"l": 0.78212,
"c": 0.1708,
"h": 326
},
"luminance": 0.44108
}Semantic roles & 50–950 ramp
primary
#EF8EF2
secondary
#D8F4D7
accent
#DC0A10
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085