#f08cfa ≈ Violet
#f08cfa 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 98.04% blue; printed in CMYK it uses 4% cyan, 44% magenta, 0% yellow and 1.96% black. Its hue angle is 294.55°, with 91.67% saturation and 76.47% 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.84:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 2.53.
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.4418 |
Shades
#f08cfa mixed progressively with black.
Tints
#f08cfa mixed progressively with white.
Tones
#f08cfa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f08cfa {
color: #f08cfa;
}
.bg-f08cfa {
background-color: #f08cfa;
color: #000000;
}
.border-f08cfa {
border: 2px solid #f08cfa;
}
:root {
--color-primary: #f08cfa;
--color-primary-rgb: 240 140 250;
--color-primary-hsl: 295 92% 76%;
}
.gradient-f08cfa {
background: linear-gradient(135deg, #f08cfa, #fa8ccd);
}
.shadow-f08cfa {
box-shadow: 0 8px 24px rgb(240 140 250 / 0.35);
}
Violet
#f08cfa rgb(240, 140, 250) hsl(295, 92%, 76%) Violet
#96fa8c rgb(150, 250, 140) hsl(115, 92%, 76%) Mint Green
#faf08c rgb(250, 240, 140) hsl(55, 92%, 76%) Khaki
#8cfaf0 rgb(140, 250, 240) hsl(175, 92%, 76%) Electric Blue