#ec8fff ≈ Violet
#ec8fff is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 92.55% red, 56.08% green and 100% blue; printed in CMYK it uses 7.45% cyan, 43.92% magenta, 0% yellow and 0% black. Its hue angle is 289.82°, with 100% saturation and 78.04% 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 9.94:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 3.65.
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.447 |
Shades
#ec8fff mixed progressively with black.
Tints
#ec8fff mixed progressively with white.
Tones
#ec8fff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec8fff {
color: #ec8fff;
}
.bg-ec8fff {
background-color: #ec8fff;
color: #000000;
}
.border-ec8fff {
border: 2px solid #ec8fff;
}
:root {
--color-primary: #ec8fff;
--color-primary-rgb: 236 143 255;
--color-primary-hsl: 290 100% 78%;
}
.gradient-ec8fff {
background: linear-gradient(135deg, #ec8fff, #ff8fda);
}
.shadow-ec8fff {
box-shadow: 0 8px 24px rgb(236 143 255 / 0.35);
}
Violet
#ec8fff rgb(236, 143, 255) hsl(290, 100%, 78%) Violet
#a2ff8f rgb(162, 255, 143) hsl(110, 100%, 78%) Mint Green
#ffec8f rgb(255, 236, 143) hsl(50, 100%, 78%) Khaki
#8fffec rgb(143, 255, 236) hsl(170, 100%, 78%) Turquoise Blue