#f08cf2 ≈ Violet
#f08cf2 is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 94.12% red, 54.9% green and 94.9% blue; printed in CMYK it uses 0.83% cyan, 42.15% magenta, 0% yellow and 5.1% black. Its hue angle is 298.82°, with 79.69% saturation and 74.9% 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.74:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 2.07.
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.4369 |
Shades
#f08cf2 mixed progressively with black.
Tints
#f08cf2 mixed progressively with white.
Tones
#f08cf2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f08cf2 {
color: #f08cf2;
}
.bg-f08cf2 {
background-color: #f08cf2;
color: #000000;
}
.border-f08cf2 {
border: 2px solid #f08cf2;
}
:root {
--color-primary: #f08cf2;
--color-primary-rgb: 240 140 242;
--color-primary-hsl: 299 80% 75%;
}
.gradient-f08cf2 {
background: linear-gradient(135deg, #f08cf2, #f28cc1);
}
.shadow-f08cf2 {
box-shadow: 0 8px 24px rgb(240 140 242 / 0.35);
}
Violet
#f08cf2 rgb(240, 140, 242) hsl(299, 80%, 75%) Violet
#8ef28c rgb(142, 242, 140) hsl(119, 80%, 75%) Light Green
#f2f08c rgb(242, 240, 140) hsl(59, 80%, 75%) Pastel Yellow
#8cf2f0 rgb(140, 242, 240) hsl(179, 80%, 75%) Electric Blue