#EF7EF2#EF7EF2
#EF7EF2 is a light, vivid purple. Relative luminance 0.397; OKLCH L 75.9% C 0.197 H 326.3°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #EF7EF2 |
|---|---|
| RGB | rgb(239, 126, 242) |
| HSL | hsl(298, 82%, 72%) |
| HSV | hsv(298, 48%, 95%) |
| CMYK | cmyk(1.2%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(69.25, 59.28, -39.70) |
| CIE-LCH | lch(69.25, 71.35, 326.19°) |
| OKLab | oklab(75.94% 0.1637 -0.109) |
| OKLCH | oklch(75.94% 0.197 326.3) |
| XYZ | xyz(59.0833, 39.6863, 88.5353) |
| Luminance | 0.3968 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.10
Purply Pink
#F075E6
ΔE00 2.44
Candy Pink
#FF63E9
ΔE00 4.81
Light Magenta
#FA5FF7
ΔE00 4.95
Violet Pink
#FB5FFC
ΔE00 5.05
Lavender Pink
#DD85D7
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF7EF2 #81F27E
analogous
#B57EF2 #EF7EF2 #F27EBB
triadic
#EF7EF2 #F2EF7E #7EF2EF
tetradic
#EF7EF2 #F2B57E #81F27E #7EBBF2
square
#EF7EF2 #F2B57E #81F27E #7EBBF2
split-complementary
#EF7EF2 #BBF27E #7EF2B5
monochromatic
#DA16DF #E846EC #EF7EF2 #F6B6F8 #FCE3FC
Accessibility & contrast
On white
2.35
#EF7EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.94
#EF7EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EF7EF2
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF7EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF7EF2 | 1.00 | 2.35 | 8.94 | 8.94 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#94AEEE
Tritanopia (blue-blind)
#F58BAD
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #ef7ef2; /* rgb */ color: rgb(239, 126, 242); /* oklch */ color: oklch(75.9% 0.197 326.3);
Tailwind
colors: {
custom: {
50: '#f6a7f6',
500: '#ef7ef2',
950: '#000000',
},
}SCSS
$custom: #ef7ef2; $custom-light: #f6a7f6; $custom-dark: #000000;
JSON
{
"hex": "#ef7ef2",
"rgb": {
"r": 239,
"g": 126,
"b": 242
},
"hsl": {
"h": 298.448,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.75937,
"c": 0.19667,
"h": 326.3
},
"luminance": 0.39683
}Semantic roles & 50–950 ramp
primary
#EF7EF2
secondary
#D8F4D7
accent
#DE070D
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85