#ec8cef ≈ Violet
#ec8cef is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 92.55% red, 54.9% green and 93.73% blue; printed in CMYK it uses 1.26% cyan, 41.42% magenta, 0% yellow and 6.27% black. Its hue angle is 298.18°, with 75.57% saturation and 74.31% 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 9.56:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 2.05.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ff99ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4282 |
Shades
#ec8cef mixed progressively with black.
Tints
#ec8cef mixed progressively with white.
Tones
#ec8cef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec8cef {
color: #ec8cef;
}
.bg-ec8cef {
background-color: #ec8cef;
color: #000000;
}
.border-ec8cef {
border: 2px solid #ec8cef;
}
:root {
--color-primary: #ec8cef;
--color-primary-rgb: 236 140 239;
--color-primary-hsl: 298 76% 74%;
}
.gradient-ec8cef {
background: linear-gradient(135deg, #ec8cef, #ef8cc0);
}
.shadow-ec8cef {
box-shadow: 0 8px 24px rgb(236 140 239 / 0.35);
}
Violet
#ec8cef rgb(236, 140, 239) hsl(298, 76%, 74%) Violet
#8fef8c rgb(143, 239, 140) hsl(118, 76%, 74%) Light Green
#efec8c rgb(239, 236, 140) hsl(58, 76%, 74%) Khaki
#8cefec rgb(140, 239, 236) hsl(178, 76%, 74%) Electric Blue