#ec7bf0 ≈ Violet
#ec7bf0 is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 92.55% red, 48.24% green and 94.12% blue; printed in CMYK it uses 1.67% cyan, 48.75% magenta, 0% yellow and 5.88% black. Its hue angle is 297.95°, with 79.59% 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.66:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 1.66.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ff66ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3829 |
Shades
#ec7bf0 mixed progressively with black.
Tints
#ec7bf0 mixed progressively with white.
Tones
#ec7bf0 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec7bf0 {
color: #ec7bf0;
}
.bg-ec7bf0 {
background-color: #ec7bf0;
color: #000000;
}
.border-ec7bf0 {
border: 2px solid #ec7bf0;
}
:root {
--color-primary: #ec7bf0;
--color-primary-rgb: 236 123 240;
--color-primary-hsl: 298 80% 71%;
}
.gradient-ec7bf0 {
background: linear-gradient(135deg, #ec7bf0, #f07bba);
}
.shadow-ec7bf0 {
box-shadow: 0 8px 24px rgb(236 123 240 / 0.35);
}
Violet
#ec7bf0 rgb(236, 123, 240) hsl(298, 80%, 71%) Violet
#7ff07b rgb(127, 240, 123) hsl(118, 80%, 71%) Light Green
#f0ec7b rgb(240, 236, 123) hsl(58, 80%, 71%) Khaki
#7bf0ec rgb(123, 240, 236) hsl(178, 80%, 71%) Electric Blue