#EC5CF7#EC5CF7
#EC5CF7 is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.7% C 0.248 H 324.8°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #EC5CF7 |
|---|---|
| RGB | rgb(236, 92, 247) |
| HSL | hsl(296, 91%, 66%) |
| HSV | hsv(296, 63%, 97%) |
| CMYK | cmyk(4.5%, 62.8%, 0%, 3.1%) |
| CIE-LAB | lab(63.51, 74.45, -51.50) |
| CIE-LCH | lch(63.51, 90.52, 325.33°) |
| OKLab | oklab(71.73% 0.2028 -0.1429) |
| OKLCH | oklch(71.73% 0.248 324.8) |
| XYZ | xyz(55.2064, 32.2058, 91.2862) |
| Luminance | 0.3220 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.62
Violet Pink
#FB5FFC
ΔE00 2.63
Heliotrope
#D94FF5
ΔE00 4.49
Candy Pink
#FF63E9
ΔE00 5.00
Magenta
#FF00FF
ΔE00 5.50
Fuchsia
#FF00FF
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC5CF7 #67F75C
analogous
#9F5CF7 #EC5CF7 #F75CB5
triadic
#EC5CF7 #F7EC5C #5CF7EC
tetradic
#EC5CF7 #F79F5C #67F75C #5CB5F7
square
#EC5CF7 #F79F5C #67F75C #5CB5F7
split-complementary
#EC5CF7 #B5F75C #5CF79F
monochromatic
#C10ACE #E522F4 #EC5CF7 #F396FA #FAD1FD
Accessibility & contrast
On white
2.82
#EC5CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.44
#EC5CF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC5CF7
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC5CF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC5CF7 | 1.00 | 2.82 | 7.44 | 7.44 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F8EFC
Deuteranopia (green-blind)
#78A0F3
Tritanopia (blue-blind)
#F173A2
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #ec5cf7; /* rgb */ color: rgb(236, 92, 247); /* oklch */ color: oklch(71.7% 0.248 324.8);
Tailwind
colors: {
custom: {
50: '#f693fa',
500: '#ec5cf7',
950: '#000000',
},
}SCSS
$custom: #ec5cf7; $custom-light: #f693fa; $custom-dark: #000000;
JSON
{
"hex": "#ec5cf7",
"rgb": {
"r": 236,
"g": 92,
"b": 247
},
"hsl": {
"h": 295.742,
"s": 90.643,
"l": 66.471
},
"oklch": {
"l": 0.71734,
"c": 0.24809,
"h": 324.8
},
"luminance": 0.32203
}Semantic roles & 50–950 ramp
primary
#EC5CF7
secondary
#C2F1BE
accent
#E60010
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85