#f281fb ≈ Violet
#f281fb is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 50.59% green and 98.43% blue; printed in CMYK it uses 3.59% cyan, 48.61% magenta, 0% yellow and 1.57% black. Its hue angle is 295.57°, with 93.85% saturation and 74.51% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 9.31:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 2.05.
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.4154 |
Shades
#f281fb mixed progressively with black.
Tints
#f281fb mixed progressively with white.
Tones
#f281fb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f281fb {
color: #f281fb;
}
.bg-f281fb {
background-color: #f281fb;
color: #000000;
}
.border-f281fb {
border: 2px solid #f281fb;
}
:root {
--color-primary: #f281fb;
--color-primary-rgb: 242 129 251;
--color-primary-hsl: 296 94% 75%;
}
.gradient-f281fb {
background: linear-gradient(135deg, #f281fb, #fb81c7);
}
.shadow-f281fb {
box-shadow: 0 8px 24px rgb(242 129 251 / 0.35);
}
Violet
#f281fb rgb(242, 129, 251) hsl(296, 94%, 75%) Violet
#8afb81 rgb(138, 251, 129) hsl(116, 94%, 75%) Mint Green
#fbf281 rgb(251, 242, 129) hsl(56, 94%, 75%) Pastel Yellow
#81fbf2 rgb(129, 251, 242) hsl(176, 94%, 75%) Electric Blue