#f18ef2 ≈ Violet
#f18ef2 is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 94.51% red, 55.69% green and 94.9% blue; printed in CMYK it uses 0.41% cyan, 41.32% magenta, 0% yellow and 5.1% black. Its hue angle is 299.4°, with 79.37% saturation and 75.29% 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.89:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 2.51.
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.4446 |
Shades
#f18ef2 mixed progressively with black.
Tints
#f18ef2 mixed progressively with white.
Tones
#f18ef2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f18ef2 {
color: #f18ef2;
}
.bg-f18ef2 {
background-color: #f18ef2;
color: #000000;
}
.border-f18ef2 {
border: 2px solid #f18ef2;
}
:root {
--color-primary: #f18ef2;
--color-primary-rgb: 241 142 242;
--color-primary-hsl: 299 79% 75%;
}
.gradient-f18ef2 {
background: linear-gradient(135deg, #f18ef2, #f28ec1);
}
.shadow-f18ef2 {
box-shadow: 0 8px 24px rgb(241 142 242 / 0.35);
}
Violet
#f18ef2 rgb(241, 142, 242) hsl(299, 79%, 75%) Violet
#8ff28e rgb(143, 242, 142) hsl(119, 79%, 75%) Light Green
#f2f18e rgb(242, 241, 142) hsl(59, 79%, 75%) Pastel Yellow
#8ef2f1 rgb(142, 242, 241) hsl(179, 79%, 75%) Electric Blue