#EF7CF2#EF7CF2
#EF7CF2 is a light, vivid purple. Relative luminance 0.392; OKLCH L 75.7% C 0.200 H 326.4°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #EF7CF2 |
|---|---|
| RGB | rgb(239, 124, 242) |
| HSL | hsl(298, 82%, 72%) |
| HSV | hsv(298, 49%, 95%) |
| CMYK | cmyk(1.2%, 48.8%, 0%, 5.1%) |
| CIE-LAB | lab(68.88, 60.24, -40.27) |
| CIE-LCH | lch(68.88, 72.46, 326.24°) |
| OKLab | oklab(75.67% 0.1664 -0.1106) |
| OKLCH | oklch(75.67% 0.2 326.4) |
| XYZ | xyz(58.8301, 39.1799, 88.4509) |
| Luminance | 0.3918 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.44
Purply Pink
#F075E6
ΔE00 2.26
Candy Pink
#FF63E9
ΔE00 4.53
Light Magenta
#FA5FF7
ΔE00 4.58
Violet Pink
#FB5FFC
ΔE00 4.69
Lavender Pink
#DD85D7
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF7CF2 #7FF27C
analogous
#B47CF2 #EF7CF2 #F27CBA
triadic
#EF7CF2 #F2EF7C #7CF2EF
tetradic
#EF7CF2 #F2B47C #7FF27C #7CBAF2
square
#EF7CF2 #F2B47C #7FF27C #7CBAF2
split-complementary
#EF7CF2 #BAF27C #7CF2B4
monochromatic
#D916DE #E844EC #EF7CF2 #F6B4F8 #FCE3FC
Accessibility & contrast
On white
2.38
#EF7CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.84
#EF7CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EF7CF2
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF7CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF7CF2 | 1.00 | 2.38 | 8.84 | 8.84 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#92ADEE
Tritanopia (blue-blind)
#F589AC
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #ef7cf2; /* rgb */ color: rgb(239, 124, 242); /* oklch */ color: oklch(75.7% 0.200 326.4);
Tailwind
colors: {
custom: {
50: '#f7a6f6',
500: '#ef7cf2',
950: '#000000',
},
}SCSS
$custom: #ef7cf2; $custom-light: #f7a6f6; $custom-dark: #000000;
JSON
{
"hex": "#ef7cf2",
"rgb": {
"r": 239,
"g": 124,
"b": 242
},
"hsl": {
"h": 298.475,
"s": 81.944,
"l": 71.765
},
"oklch": {
"l": 0.75668,
"c": 0.19979,
"h": 326.4
},
"luminance": 0.39177
}Semantic roles & 50–950 ramp
primary
#EF7CF2
secondary
#D7F4D6
accent
#DE070D
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85