#EF8CF2#EF8CF2
#EF8CF2 is a light, vivid purple. Relative luminance 0.435; OKLCH L 77.9% C 0.174 H 326.0°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #EF8CF2 |
|---|---|
| RGB | rgb(239, 140, 242) |
| HSL | hsl(298, 80%, 75%) |
| HSV | hsv(298, 42%, 95%) |
| CMYK | cmyk(1.2%, 42.1%, 0%, 5.1%) |
| CIE-LAB | lab(71.91, 52.38, -35.56) |
| CIE-LCH | lch(71.91, 63.31, 325.83°) |
| OKLab | oklab(77.92% 0.1444 -0.0973) |
| OKLCH | oklch(77.92% 0.174 326) |
| XYZ | xyz(61.0004, 43.5205, 89.1743) |
| Luminance | 0.4352 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.04
Purply Pink
#F075E6
ΔE00 4.61
Lavender Pink
#DD85D7
ΔE00 4.67
Candy Pink
#FF63E9
ΔE00 7.15
Plum
#DDA0DD
ΔE00 7.36
Orchid
#DA70D6
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF8CF2 #8FF28C
analogous
#BC8CF2 #EF8CF2 #F28CC2
triadic
#EF8CF2 #F2EF8C #8CF2EF
tetradic
#EF8CF2 #F2BC8C #8FF28C #8CC2F2
square
#EF8CF2 #F2BC8C #8FF28C #8CC2F2
split-complementary
#EF8CF2 #C2F28C #8CF2BC
monochromatic
#E01EE6 #E755EC #EF8CF2 #F7C3F8 #FBE4FC
Accessibility & contrast
On white
2.16
#EF8CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.70
#EF8CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EF8CF2
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF8CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF8CF2 | 1.00 | 2.16 | 9.70 | 9.70 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83A8F6
Deuteranopia (green-blind)
#9EB5EF
Tritanopia (blue-blind)
#F497B4
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #ef8cf2; /* rgb */ color: rgb(239, 140, 242); /* oklch */ color: oklch(77.9% 0.174 326.0);
Tailwind
colors: {
custom: {
50: '#f6b0f6',
500: '#ef8cf2',
950: '#000000',
},
}SCSS
$custom: #ef8cf2; $custom-light: #f6b0f6; $custom-dark: #000000;
JSON
{
"hex": "#ef8cf2",
"rgb": {
"r": 239,
"g": 140,
"b": 242
},
"hsl": {
"h": 298.235,
"s": 79.687,
"l": 74.902
},
"oklch": {
"l": 0.77917,
"c": 0.17411,
"h": 326
},
"luminance": 0.43518
}Semantic roles & 50–950 ramp
primary
#EF8CF2
secondary
#D8F4D7
accent
#DC0A10
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085