#EC7CFD#EC7CFD
#EC7CFD is a light, highly saturated purple. Relative luminance 0.393; OKLCH L 75.8% C 0.208 H 322.2°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #EC7CFD |
|---|---|
| RGB | rgb(236, 124, 253) |
| HSL | hsl(292, 97%, 74%) |
| HSV | hsv(292, 51%, 99%) |
| CMYK | cmyk(6.7%, 51%, 0%, 0.8%) |
| CIE-LAB | lab(69.00, 61.42, -46.14) |
| CIE-LCH | lch(69.00, 76.81, 323.09°) |
| OKLab | oklab(75.84% 0.1645 -0.1276) |
| OKLCH | oklch(75.84% 0.208 322.2) |
| XYZ | xyz(59.5275, 39.3427, 97.3678) |
| Luminance | 0.3934 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.15
Purply Pink
#F075E6
ΔE00 4.11
Violet Pink
#FB5FFC
ΔE00 4.57
Light Magenta
#FA5FF7
ΔE00 4.74
Candy Pink
#FF63E9
ΔE00 5.77
Orchid
#DA70D6
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC7CFD #8DFD7C
analogous
#AC7CFD #EC7CFD #FD7CCE
triadic
#EC7CFD #FDEC7C #7CFDEC
tetradic
#EC7CFD #FDAC7C #8DFD7C #7CCEFD
square
#EC7CFD #FDAC7C #8DFD7C #7CCEFD
split-complementary
#EC7CFD #CEFD7C #7CFDAC
monochromatic
#DA04FB #E340FC #EC7CFD #F5B8FE #FBE1FF
Accessibility & contrast
On white
2.37
#EC7CFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.87
#EC7CFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC7CFD
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC7CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC7CFD | 1.00 | 2.37 | 8.87 | 8.87 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#8BADF9
Tritanopia (blue-blind)
#EF8DB1
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #ec7cfd; /* rgb */ color: rgb(236, 124, 253); /* oklch */ color: oklch(75.8% 0.208 322.2);
Tailwind
colors: {
custom: {
50: '#f5a6fe',
500: '#ec7cfd',
950: '#000000',
},
}SCSS
$custom: #ec7cfd; $custom-light: #f5a6fe; $custom-dark: #000000;
JSON
{
"hex": "#ec7cfd",
"rgb": {
"r": 236,
"g": 124,
"b": 253
},
"hsl": {
"h": 292.093,
"s": 96.992,
"l": 73.922
},
"oklch": {
"l": 0.75836,
"c": 0.20817,
"h": 322.2
},
"luminance": 0.3934
}Semantic roles & 50–950 ramp
primary
#EC7CFD
secondary
#D9F7D4
accent
#E6001E
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86