#ec7bf5 ≈ Violet
#ec7bf5 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 96.08% blue; printed in CMYK it uses 3.67% cyan, 49.8% magenta, 0% yellow and 3.92% black. Its hue angle is 295.57°, with 85.92% saturation and 72.16% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 8.72:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 2.18.
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.3859 |
Shades
#ec7bf5 mixed progressively with black.
Tints
#ec7bf5 mixed progressively with white.
Tones
#ec7bf5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec7bf5 {
color: #ec7bf5;
}
.bg-ec7bf5 {
background-color: #ec7bf5;
color: #000000;
}
.border-ec7bf5 {
border: 2px solid #ec7bf5;
}
:root {
--color-primary: #ec7bf5;
--color-primary-rgb: 236 123 245;
--color-primary-hsl: 296 86% 72%;
}
.gradient-ec7bf5 {
background: linear-gradient(135deg, #ec7bf5, #f57bc1);
}
.shadow-ec7bf5 {
box-shadow: 0 8px 24px rgb(236 123 245 / 0.35);
}
Violet
#ec7bf5 rgb(236, 123, 245) hsl(296, 86%, 72%) Violet
#84f57b rgb(132, 245, 123) hsl(116, 86%, 72%) Mint Green
#f5ec7b rgb(245, 236, 123) hsl(56, 86%, 72%) Khaki
#7bf5ec rgb(123, 245, 236) hsl(176, 86%, 72%) Electric Blue