#EC7CF4#EC7CF4
#EC7CF4 is a light, vivid purple. Relative luminance 0.388; OKLCH L 75.4% C 0.200 H 324.8°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #EC7CF4 |
|---|---|
| RGB | rgb(236, 124, 244) |
| HSL | hsl(296, 85%, 72%) |
| HSV | hsv(296, 49%, 96%) |
| CMYK | cmyk(3.3%, 49.2%, 0%, 4.3%) |
| CIE-LAB | lab(68.59, 59.78, -41.84) |
| CIE-LCH | lch(68.59, 72.97, 325.01°) |
| OKLab | oklab(75.41% 0.1633 -0.1152) |
| OKLCH | oklch(75.41% 0.2 324.8) |
| XYZ | xyz(58.1275, 38.7827, 89.9944) |
| Luminance | 0.3878 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.91
Purply Pink
#F075E6
ΔE00 2.77
Light Magenta
#FA5FF7
ΔE00 4.59
Violet Pink
#FB5FFC
ΔE00 4.63
Candy Pink
#FF63E9
ΔE00 4.94
Orchid
#DA70D6
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC7CF4 #84F47C
analogous
#B07CF4 #EC7CF4 #F47CC0
triadic
#EC7CF4 #F4EC7C #7CF4EC
tetradic
#EC7CF4 #F4B07C #84F47C #7CC0F4
square
#EC7CF4 #F4B07C #84F47C #7CC0F4
split-complementary
#EC7CF4 #C0F47C #7CF4B0
monochromatic
#D513E3 #E444EF #EC7CF4 #F4B4F9 #FBE3FD
Accessibility & contrast
On white
2.40
#EC7CF4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.76
#EC7CF4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC7CF4
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC7CF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC7CF4 | 1.00 | 2.40 | 8.76 | 8.76 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9EF8
Deuteranopia (green-blind)
#8FACF0
Tritanopia (blue-blind)
#F18AAD
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #ec7cf4; /* rgb */ color: rgb(236, 124, 244); /* oklch */ color: oklch(75.4% 0.200 324.8);
Tailwind
colors: {
custom: {
50: '#f4a6f8',
500: '#ec7cf4',
950: '#000000',
},
}SCSS
$custom: #ec7cf4; $custom-light: #f4a6f8; $custom-dark: #000000;
JSON
{
"hex": "#ec7cf4",
"rgb": {
"r": 236,
"g": 124,
"b": 244
},
"hsl": {
"h": 296,
"s": 84.507,
"l": 72.157
},
"oklch": {
"l": 0.75405,
"c": 0.19988,
"h": 324.8
},
"luminance": 0.3878
}Semantic roles & 50–950 ramp
primary
#EC7CF4
secondary
#D8F5D6
accent
#E10513
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85