#EF8CF6#EF8CF6
#EF8CF6 is a light, vivid purple. Relative luminance 0.438; OKLCH L 78.1% C 0.178 H 324.7°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #EF8CF6 |
|---|---|
| RGB | rgb(239, 140, 246) |
| HSL | hsl(296, 85%, 76%) |
| HSV | hsv(296, 43%, 96%) |
| CMYK | cmyk(2.8%, 43.1%, 0%, 3.5%) |
| CIE-LAB | lab(72.07, 53.10, -37.49) |
| CIE-LCH | lch(72.07, 65.00, 324.78°) |
| OKLab | oklab(78.09% 0.1452 -0.1028) |
| OKLCH | oklch(78.09% 0.178 324.7) |
| XYZ | xyz(61.6077, 43.7634, 92.3729) |
| Luminance | 0.4376 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.20
Purply Pink
#F075E6
ΔE00 4.82
Lavender Pink
#DD85D7
ΔE00 5.20
Candy Pink
#FF63E9
ΔE00 7.28
Light Magenta
#FA5FF7
ΔE00 7.59
Orchid
#DA70D6
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF8CF6 #93F68C
analogous
#BA8CF6 #EF8CF6 #F68CC8
triadic
#EF8CF6 #F6EF8C #8CF6EF
tetradic
#EF8CF6 #F6BA8C #93F68C #8CC8F6
square
#EF8CF6 #F6BA8C #93F68C #8CC8F6
split-complementary
#EF8CF6 #C8F68C #8CF6BA
monochromatic
#DF1AED #E753F2 #EF8CF6 #F7C5FA #FBE3FD
Accessibility & contrast
On white
2.15
#EF8CF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.75
#EF8CF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EF8CF6
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF8CF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF8CF6 | 1.00 | 2.15 | 9.75 | 9.75 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81A9FA
Deuteranopia (green-blind)
#9CB5F3
Tritanopia (blue-blind)
#F398B6
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #ef8cf6; /* rgb */ color: rgb(239, 140, 246); /* oklch */ color: oklch(78.1% 0.178 324.7);
Tailwind
colors: {
custom: {
50: '#f6b0f9',
500: '#ef8cf6',
950: '#000000',
},
}SCSS
$custom: #ef8cf6; $custom-light: #f6b0f9; $custom-dark: #000000;
JSON
{
"hex": "#ef8cf6",
"rgb": {
"r": 239,
"g": 140,
"b": 246
},
"hsl": {
"h": 296.038,
"s": 85.484,
"l": 75.686
},
"oklch": {
"l": 0.78092,
"c": 0.17786,
"h": 324.7
},
"luminance": 0.43761
}Semantic roles & 50–950 ramp
primary
#EF8CF6
secondary
#D8F5D6
accent
#E20412
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085