#f296f2 ≈ Violet
#f296f2 is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 58.82% green and 94.9% blue; printed in CMYK it uses 0% cyan, 38.02% magenta, 0% yellow and 5.1% black. Its hue angle is 300°, with 77.97% saturation and 76.86% 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.42:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 4.26.
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.471 |
Shades
#f296f2 mixed progressively with black.
Tints
#f296f2 mixed progressively with white.
Tones
#f296f2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f296f2 {
color: #f296f2;
}
.bg-f296f2 {
background-color: #f296f2;
color: #000000;
}
.border-f296f2 {
border: 2px solid #f296f2;
}
:root {
--color-primary: #f296f2;
--color-primary-rgb: 242 150 242;
--color-primary-hsl: 300 78% 77%;
}
.gradient-f296f2 {
background: linear-gradient(135deg, #f296f2, #f296c4);
}
.shadow-f296f2 {
box-shadow: 0 8px 24px rgb(242 150 242 / 0.35);
}
Violet
#f296f2 rgb(242, 150, 242) hsl(300, 78%, 77%) Violet
#96f296 rgb(150, 242, 150) hsl(120, 78%, 77%) Light Green
#f2f296 rgb(242, 242, 150) hsl(60, 78%, 77%) Pastel Yellow
#96f2f2 rgb(150, 242, 242) hsl(180, 78%, 77%) Electric Blue