#ec97f5 ≈ Violet
#ec97f5 is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 92.55% red, 59.22% green and 96.08% blue; printed in CMYK it uses 3.67% cyan, 38.37% magenta, 0% yellow and 3.92% black. Its hue angle is 294.26°, with 82.46% saturation and 77.65% 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 soft pastel palettes. Black text on this color reaches a contrast ratio of 10.31:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 4.39.
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.4656 |
Shades
#ec97f5 mixed progressively with black.
Tints
#ec97f5 mixed progressively with white.
Tones
#ec97f5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec97f5 {
color: #ec97f5;
}
.bg-ec97f5 {
background-color: #ec97f5;
color: #000000;
}
.border-ec97f5 {
border: 2px solid #ec97f5;
}
:root {
--color-primary: #ec97f5;
--color-primary-rgb: 236 151 245;
--color-primary-hsl: 294 82% 78%;
}
.gradient-ec97f5 {
background: linear-gradient(135deg, #ec97f5, #f597cf);
}
.shadow-ec97f5 {
box-shadow: 0 8px 24px rgb(236 151 245 / 0.35);
}
Violet
#ec97f5 rgb(236, 151, 245) hsl(294, 82%, 78%) Violet
#a0f597 rgb(160, 245, 151) hsl(114, 82%, 78%) Pale Green
#f5ec97 rgb(245, 236, 151) hsl(54, 82%, 78%) Khaki
#97f5ec rgb(151, 245, 236) hsl(174, 82%, 78%) Celeste