#EF7FE2#EF7FE2
#EF7FE2 is a light, vivid purple. Relative luminance 0.390; OKLCH L 75.4% C 0.181 H 331.7°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #EF7FE2 |
|---|---|
| RGB | rgb(239, 127, 226) |
| HSL | hsl(307, 78%, 72%) |
| HSV | hsv(307, 47%, 94%) |
| CMYK | cmyk(0%, 46.9%, 5.4%, 6.3%) |
| CIE-LAB | lab(68.77, 56.05, -31.62) |
| CIE-LCH | lch(68.77, 64.36, 330.57°) |
| OKLab | oklab(75.37% 0.1595 -0.086) |
| OKLCH | oklch(75.37% 0.181 331.7) |
| XYZ | xyz(56.9131, 39.0238, 76.4714) |
| Luminance | 0.3902 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.19
Purply Pink
#F075E6
ΔE00 2.20
Lavender Pink
#DD85D7
ΔE00 3.29
Candy Pink
#FF63E9
ΔE00 4.84
Orchid
#DA70D6
ΔE00 5.02
Light Magenta
#FA5FF7
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF7FE2 #7FEF8C
analogous
#C47FEF #EF7FE2 #EF7FAA
triadic
#EF7FE2 #E2EF7F #7FE2EF
tetradic
#EF7FE2 #EFC47F #7FEF8C #7FAAEF
square
#EF7FE2 #EFC47F #7FEF8C #7FAAEF
split-complementary
#EF7FE2 #AAEF7F #7FEFC4
monochromatic
#D91BC3 #E849D6 #EF7FE2 #F6B5EE #FCE4F9
Accessibility & contrast
On white
2.39
#EF7FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.80
#EF7FE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EF7FE2
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF7FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF7FE2 | 1.00 | 2.39 | 8.80 | 8.80 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B9EE5
Deuteranopia (green-blind)
#9BADDF
Tritanopia (blue-blind)
#F787A6
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #ef7fe2; /* rgb */ color: rgb(239, 127, 226); /* oklch */ color: oklch(75.4% 0.181 331.7);
Tailwind
colors: {
custom: {
50: '#f6a7eb',
500: '#ef7fe2',
950: '#000000',
},
}SCSS
$custom: #ef7fe2; $custom-light: #f6a7eb; $custom-dark: #000000;
JSON
{
"hex": "#ef7fe2",
"rgb": {
"r": 239,
"g": 127,
"b": 226
},
"hsl": {
"h": 306.964,
"s": 77.778,
"l": 71.765
},
"oklch": {
"l": 0.75366,
"c": 0.18118,
"h": 331.7
},
"luminance": 0.3902
}Semantic roles & 50–950 ramp
primary
#EF7FE2
secondary
#D7F3DA
accent
#DA230B
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84