#EC7CF8#EC7CF8
#EC7CF8 is a light, highly saturated purple. Relative luminance 0.390; OKLCH L 75.6% C 0.204 H 323.6°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #EC7CF8 |
|---|---|
| RGB | rgb(236, 124, 248) |
| HSL | hsl(294, 90%, 73%) |
| HSV | hsv(294, 50%, 97%) |
| CMYK | cmyk(4.8%, 50%, 0%, 2.7%) |
| CIE-LAB | lab(68.77, 60.50, -43.76) |
| CIE-LCH | lch(68.77, 74.67, 324.12°) |
| OKLab | oklab(75.6% 0.1639 -0.1207) |
| OKLCH | oklch(75.6% 0.204 323.6) |
| XYZ | xyz(58.7414, 39.0283, 93.2278) |
| Luminance | 0.3902 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.44
Purply Pink
#F075E6
ΔE00 3.36
Violet Pink
#FB5FFC
ΔE00 4.55
Light Magenta
#FA5FF7
ΔE00 4.60
Candy Pink
#FF63E9
ΔE00 5.28
Orchid
#DA70D6
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC7CF8 #88F87C
analogous
#AE7CF8 #EC7CF8 #F87CC6
triadic
#EC7CF8 #F8EC7C #7CF8EC
tetradic
#EC7CF8 #F8AE7C #88F87C #7CC6F8
square
#EC7CF8 #F8AE7C #88F87C #7CC6F8
split-complementary
#EC7CF8 #C6F87C #7CF8AE
monochromatic
#D70DED #E442F5 #EC7CF8 #F4B6FB #FBE2FD
Accessibility & contrast
On white
2.39
#EC7CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.81
#EC7CF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC7CF8
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC7CF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC7CF8 | 1.00 | 2.39 | 8.81 | 8.81 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B9FFC
Deuteranopia (green-blind)
#8DACF4
Tritanopia (blue-blind)
#F08CAF
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #ec7cf8; /* rgb */ color: rgb(236, 124, 248); /* oklch */ color: oklch(75.6% 0.204 323.6);
Tailwind
colors: {
custom: {
50: '#f4a6fb',
500: '#ec7cf8',
950: '#000000',
},
}SCSS
$custom: #ec7cf8; $custom-light: #f4a6fb; $custom-dark: #000000;
JSON
{
"hex": "#ec7cf8",
"rgb": {
"r": 236,
"g": 124,
"b": 248
},
"hsl": {
"h": 294.194,
"s": 89.855,
"l": 72.941
},
"oklch": {
"l": 0.75595,
"c": 0.20354,
"h": 323.6
},
"luminance": 0.39025
}Semantic roles & 50–950 ramp
primary
#EC7CF8
secondary
#D9F6D5
accent
#E60016
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85