#ec7fdc ≈ Violet
#ec7fdc is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 92.55% red, 49.8% green and 86.27% blue; printed in CMYK it uses 0% cyan, 46.19% magenta, 6.78% yellow and 7.45% black. Its hue angle is 308.81°, with 74.15% saturation and 71.18% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. Black text on this color reaches a contrast ratio of 8.64:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 3.09.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ff66cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3818 |
Shades
#ec7fdc mixed progressively with black.
Tints
#ec7fdc mixed progressively with white.
Tones
#ec7fdc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec7fdc {
color: #ec7fdc;
}
.bg-ec7fdc {
background-color: #ec7fdc;
color: #000000;
}
.border-ec7fdc {
border: 2px solid #ec7fdc;
}
:root {
--color-primary: #ec7fdc;
--color-primary-rgb: 236 127 220;
--color-primary-hsl: 309 74% 71%;
}
.gradient-ec7fdc {
background: linear-gradient(135deg, #ec7fdc, #ec7fa6);
}
.shadow-ec7fdc {
box-shadow: 0 8px 24px rgb(236 127 220 / 0.35);
}
Violet
#ec7fdc rgb(236, 127, 220) hsl(309, 74%, 71%) Violet
#7fec8f rgb(127, 236, 143) hsl(129, 74%, 71%) Light Green
#dcec7f rgb(220, 236, 127) hsl(69, 74%, 71%) Pastel Yellow
#7fdcec rgb(127, 220, 236) hsl(189, 74%, 71%) Non-Photo Blue