#EC56F7#EC56F7
#EC56F7 is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 71.1% C 0.256 H 325.0°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #EC56F7 |
|---|---|
| RGB | rgb(236, 86, 247) |
| HSL | hsl(296, 91%, 65%) |
| HSV | hsv(296, 65%, 97%) |
| CMYK | cmyk(4.5%, 65.2%, 0%, 3.1%) |
| CIE-LAB | lab(62.68, 76.77, -52.81) |
| CIE-LCH | lch(62.68, 93.18, 325.47°) |
| OKLab | oklab(71.14% 0.2092 -0.1467) |
| OKLCH | oklch(71.14% 0.256 325) |
| XYZ | xyz(54.7071, 31.2072, 91.1197) |
| Luminance | 0.3120 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.20
Violet Pink
#FB5FFC
ΔE00 3.22
Heliotrope
#D94FF5
ΔE00 3.85
Magenta
#FF00FF
ΔE00 4.73
Fuchsia
#FF00FF
ΔE00 4.73
Candy Pink
#FF63E9
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC56F7 #61F756
analogous
#9C56F7 #EC56F7 #F756B1
triadic
#EC56F7 #F7EC56 #56F7EC
tetradic
#EC56F7 #F79C56 #61F756 #56B1F7
square
#EC56F7 #F79C56 #61F756 #56B1F7
split-complementary
#EC56F7 #B1F756 #56F79C
monochromatic
#BC0AC9 #E51CF4 #EC56F7 #F390FA #F9CBFD
Accessibility & contrast
On white
2.90
#EC56F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.24
#EC56F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC56F7
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC56F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC56F7 | 1.00 | 2.90 | 7.24 | 7.24 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#358CFC
Deuteranopia (green-blind)
#749EF3
Tritanopia (blue-blind)
#F16FA0
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #ec56f7; /* rgb */ color: rgb(236, 86, 247); /* oklch */ color: oklch(71.1% 0.256 325.0);
Tailwind
colors: {
custom: {
50: '#f690fa',
500: '#ec56f7',
950: '#000000',
},
}SCSS
$custom: #ec56f7; $custom-light: #f690fa; $custom-dark: #000000;
JSON
{
"hex": "#ec56f7",
"rgb": {
"r": 236,
"g": 86,
"b": 247
},
"hsl": {
"h": 295.901,
"s": 90.96,
"l": 65.294
},
"oklch": {
"l": 0.71135,
"c": 0.25552,
"h": 325
},
"luminance": 0.31204
}Semantic roles & 50–950 ramp
primary
#EC56F7
secondary
#BDF0B9
accent
#E60010
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85