#EC7CF0#EC7CF0
#EC7CF0 is a light, vivid purple. Relative luminance 0.385; OKLCH L 75.2% C 0.196 H 326.0°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #EC7CF0 |
|---|---|
| RGB | rgb(236, 124, 240) |
| HSL | hsl(298, 79%, 71%) |
| HSV | hsv(298, 48%, 94%) |
| CMYK | cmyk(1.7%, 48.3%, 0%, 5.9%) |
| CIE-LAB | lab(68.42, 59.07, -39.92) |
| CIE-LCH | lch(68.42, 71.29, 325.95°) |
| OKLab | oklab(75.22% 0.1628 -0.1097) |
| OKLCH | oklch(75.22% 0.196 326) |
| XYZ | xyz(57.5267, 38.5424, 86.8305) |
| Luminance | 0.3854 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.48
Purply Pink
#F075E6
ΔE00 2.20
Candy Pink
#FF63E9
ΔE00 4.67
Light Magenta
#FA5FF7
ΔE00 4.68
Violet Pink
#FB5FFC
ΔE00 4.82
Lavender Pink
#DD85D7
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC7CF0 #80F07C
analogous
#B27CF0 #EC7CF0 #F07CBA
triadic
#EC7CF0 #F0EC7C #7CF0EC
tetradic
#EC7CF0 #F0B27C #80F07C #7CBAF0
square
#EC7CF0 #F0B27C #80F07C #7CBAF0
split-complementary
#EC7CF0 #BAF07C #7CF0B2
monochromatic
#D219D9 #E445EA #EC7CF0 #F4B3F6 #FBE4FC
Accessibility & contrast
On white
2.41
#EC7CF0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.71
#EC7CF0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC7CF0
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC7CF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC7CF0 | 1.00 | 2.41 | 8.71 | 8.71 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#709EF4
Deuteranopia (green-blind)
#91ACED
Tritanopia (blue-blind)
#F189AB
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #ec7cf0; /* rgb */ color: rgb(236, 124, 240); /* oklch */ color: oklch(75.2% 0.196 326.0);
Tailwind
colors: {
custom: {
50: '#f4a6f5',
500: '#ec7cf0',
950: '#000000',
},
}SCSS
$custom: #ec7cf0; $custom-light: #f4a6f5; $custom-dark: #000000;
JSON
{
"hex": "#ec7cf0",
"rgb": {
"r": 236,
"g": 124,
"b": 240
},
"hsl": {
"h": 297.931,
"s": 79.452,
"l": 71.373
},
"oklch": {
"l": 0.75218,
"c": 0.19626,
"h": 326
},
"luminance": 0.38539
}Semantic roles & 50–950 ramp
primary
#EC7CF0
secondary
#D6F3D5
accent
#DC0A11
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85