#f18afa ≈ Violet
#f18afa is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 94.51% red, 54.12% green and 98.04% blue; printed in CMYK it uses 3.6% cyan, 44.8% magenta, 0% yellow and 1.96% black. Its hue angle is 295.18°, with 91.8% saturation and 76.08% 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.76:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 2.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.4378 |
Shades
#f18afa mixed progressively with black.
Tints
#f18afa mixed progressively with white.
Tones
#f18afa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f18afa {
color: #f18afa;
}
.bg-f18afa {
background-color: #f18afa;
color: #000000;
}
.border-f18afa {
border: 2px solid #f18afa;
}
:root {
--color-primary: #f18afa;
--color-primary-rgb: 241 138 250;
--color-primary-hsl: 295 92% 76%;
}
.gradient-f18afa {
background: linear-gradient(135deg, #f18afa, #fa8acb);
}
.shadow-f18afa {
box-shadow: 0 8px 24px rgb(241 138 250 / 0.35);
}
Violet
#f18afa rgb(241, 138, 250) hsl(295, 92%, 76%) Violet
#93fa8a rgb(147, 250, 138) hsl(115, 92%, 76%) Mint Green
#faf18a rgb(250, 241, 138) hsl(55, 92%, 76%) Khaki
#8afaf1 rgb(138, 250, 241) hsl(175, 92%, 76%) Electric Blue