#ec7dfb ≈ Violet
#ec7dfb 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.02% green and 98.43% blue; printed in CMYK it uses 5.98% cyan, 50.2% magenta, 0% yellow and 1.57% black. Its hue angle is 292.86°, with 94.03% saturation and 73.73% 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.89:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 2.76.
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.3947 |
Shades
#ec7dfb mixed progressively with black.
Tints
#ec7dfb mixed progressively with white.
Tones
#ec7dfb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec7dfb {
color: #ec7dfb;
}
.bg-ec7dfb {
background-color: #ec7dfb;
color: #000000;
}
.border-ec7dfb {
border: 2px solid #ec7dfb;
}
:root {
--color-primary: #ec7dfb;
--color-primary-rgb: 236 125 251;
--color-primary-hsl: 293 94% 74%;
}
.gradient-ec7dfb {
background: linear-gradient(135deg, #ec7dfb, #fb7dcb);
}
.shadow-ec7dfb {
box-shadow: 0 8px 24px rgb(236 125 251 / 0.35);
}
Violet
#ec7dfb rgb(236, 125, 251) hsl(293, 94%, 74%) Violet
#8cfb7d rgb(140, 251, 125) hsl(113, 94%, 74%) Mint Green
#fbec7d rgb(251, 236, 125) hsl(53, 94%, 74%) Khaki
#7dfbec rgb(125, 251, 236) hsl(173, 94%, 74%) Turquoise Blue