#ec79f2 ≈ Violet
#ec79f2 is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 92.55% red, 47.45% green and 94.9% blue; printed in CMYK it uses 2.48% cyan, 50% magenta, 0% yellow and 5.1% black. Its hue angle is 297.02°, with 82.31% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 8.58:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 2.19.
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.3792 |
Shades
#ec79f2 mixed progressively with black.
Tints
#ec79f2 mixed progressively with white.
Tones
#ec79f2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec79f2 {
color: #ec79f2;
}
.bg-ec79f2 {
background-color: #ec79f2;
color: #000000;
}
.border-ec79f2 {
border: 2px solid #ec79f2;
}
:root {
--color-primary: #ec79f2;
--color-primary-rgb: 236 121 242;
--color-primary-hsl: 297 82% 71%;
}
.gradient-ec79f2 {
background: linear-gradient(135deg, #ec79f2, #f279bc);
}
.shadow-ec79f2 {
box-shadow: 0 8px 24px rgb(236 121 242 / 0.35);
}
Violet
#ec79f2 rgb(236, 121, 242) hsl(297, 82%, 71%) Violet
#7ff279 rgb(127, 242, 121) hsl(117, 82%, 71%) Light Green
#f2ec79 rgb(242, 236, 121) hsl(57, 82%, 71%) Khaki
#79f2ec rgb(121, 242, 236) hsl(177, 82%, 71%) Electric Blue