#EF5CF2#EF5CF2
#EF5CF2 is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 71.9% C 0.246 H 327.0°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #EF5CF2 |
|---|---|
| RGB | rgb(239, 92, 242) |
| HSL | hsl(299, 85%, 65%) |
| HSV | hsv(299, 62%, 95%) |
| CMYK | cmyk(1.2%, 62%, 0%, 5.1%) |
| CIE-LAB | lab(63.69, 74.31, -48.42) |
| CIE-LCH | lch(63.69, 88.69, 326.91°) |
| OKLab | oklab(71.86% 0.2058 -0.1339) |
| OKLCH | oklch(71.86% 0.246 327) |
| XYZ | xyz(55.4498, 32.4194, 87.3241) |
| Luminance | 0.3242 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.00
Violet Pink
#FB5FFC
ΔE00 2.27
Candy Pink
#FF63E9
ΔE00 4.06
Purply Pink
#F075E6
ΔE00 4.98
Heliotrope
#D94FF5
ΔE00 5.16
Orchid
#DA70D6
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF5CF2 #5FF25C
analogous
#A45CF2 #EF5CF2 #F25CAA
triadic
#EF5CF2 #F2EF5C #5CF2EF
tetradic
#EF5CF2 #F2A45C #5FF25C #5CAAF2
square
#EF5CF2 #F2A45C #5FF25C #5CAAF2
split-complementary
#EF5CF2 #AAF25C #5CF2A4
monochromatic
#C010C4 #E923ED #EF5CF2 #F595F7 #FACDFB
Accessibility & contrast
On white
2.81
#EF5CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.48
#EF5CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EF5CF2
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF5CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF5CF2 | 1.00 | 2.81 | 7.48 | 7.48 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#478EF6
Deuteranopia (green-blind)
#7DA1EE
Tritanopia (blue-blind)
#F5709F
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #ef5cf2; /* rgb */ color: rgb(239, 92, 242); /* oklch */ color: oklch(71.9% 0.246 327.0);
Tailwind
colors: {
custom: {
50: '#f893f7',
500: '#ef5cf2',
950: '#000000',
},
}SCSS
$custom: #ef5cf2; $custom-light: #f893f7; $custom-dark: #000000;
JSON
{
"hex": "#ef5cf2",
"rgb": {
"r": 239,
"g": 92,
"b": 242
},
"hsl": {
"h": 298.8,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.71865,
"c": 0.24554,
"h": 327
},
"luminance": 0.32416
}Semantic roles & 50–950 ramp
primary
#EF5CF2
secondary
#BDEEBC
accent
#E20408
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85