#ec8af2 ≈ Violet
#ec8af2 is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 92.55% red, 54.12% green and 94.9% blue; printed in CMYK it uses 2.48% cyan, 42.98% magenta, 0% yellow and 5.1% black. Its hue angle is 296.54°, with 80% saturation and 74.51% 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 brand accents. Black text on this color reaches a contrast ratio of 9.48:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 1.69.
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.4242 |
Shades
#ec8af2 mixed progressively with black.
Tints
#ec8af2 mixed progressively with white.
Tones
#ec8af2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec8af2 {
color: #ec8af2;
}
.bg-ec8af2 {
background-color: #ec8af2;
color: #000000;
}
.border-ec8af2 {
border: 2px solid #ec8af2;
}
:root {
--color-primary: #ec8af2;
--color-primary-rgb: 236 138 242;
--color-primary-hsl: 297 80% 75%;
}
.gradient-ec8af2 {
background: linear-gradient(135deg, #ec8af2, #f28ac4);
}
.shadow-ec8af2 {
box-shadow: 0 8px 24px rgb(236 138 242 / 0.35);
}
Violet
#ec8af2 rgb(236, 138, 242) hsl(297, 80%, 75%) Violet
#90f28a rgb(144, 242, 138) hsl(117, 80%, 75%) Light Green
#f2ec8a rgb(242, 236, 138) hsl(57, 80%, 75%) Khaki
#8af2ec rgb(138, 242, 236) hsl(177, 80%, 75%) Electric Blue