#ec98f2 ≈ Violet
#ec98f2 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.61% green and 94.9% blue; printed in CMYK it uses 2.48% cyan, 37.19% magenta, 0% yellow and 5.1% black. Its hue angle is 296°, with 77.59% saturation and 77.25% 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.34:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 4.63.
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.467 |
Shades
#ec98f2 mixed progressively with black.
Tints
#ec98f2 mixed progressively with white.
Tones
#ec98f2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec98f2 {
color: #ec98f2;
}
.bg-ec98f2 {
background-color: #ec98f2;
color: #000000;
}
.border-ec98f2 {
border: 2px solid #ec98f2;
}
:root {
--color-primary: #ec98f2;
--color-primary-rgb: 236 152 242;
--color-primary-hsl: 296 78% 77%;
}
.gradient-ec98f2 {
background: linear-gradient(135deg, #ec98f2, #f298cb);
}
.shadow-ec98f2 {
box-shadow: 0 8px 24px rgb(236 152 242 / 0.35);
}
Violet
#ec98f2 rgb(236, 152, 242) hsl(296, 78%, 77%) Violet
#9ef298 rgb(158, 242, 152) hsl(116, 78%, 77%) Light Green
#f2ec98 rgb(242, 236, 152) hsl(56, 78%, 77%) Khaki
#98f2ec rgb(152, 242, 236) hsl(176, 78%, 77%) Celeste