#f87fec ≈ Violet
#f87fec is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 97.25% red, 49.8% green and 92.55% blue; printed in CMYK it uses 0% cyan, 48.79% magenta, 4.84% yellow and 2.75% black. Its hue angle is 305.95°, with 89.63% saturation and 73.53% 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.24:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 1.86.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ff66ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4119 |
Shades
#f87fec mixed progressively with black.
Tints
#f87fec mixed progressively with white.
Tones
#f87fec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f87fec {
color: #f87fec;
}
.bg-f87fec {
background-color: #f87fec;
color: #000000;
}
.border-f87fec {
border: 2px solid #f87fec;
}
:root {
--color-primary: #f87fec;
--color-primary-rgb: 248 127 236;
--color-primary-hsl: 306 90% 74%;
}
.gradient-f87fec {
background: linear-gradient(135deg, #f87fec, #f87fb0);
}
.shadow-f87fec {
box-shadow: 0 8px 24px rgb(248 127 236 / 0.35);
}
Violet
#f87fec rgb(248, 127, 236) hsl(306, 90%, 74%) Violet
#7ff88b rgb(127, 248, 139) hsl(126, 90%, 74%) Pale Green
#ecf87f rgb(236, 248, 127) hsl(66, 90%, 74%) Pastel Yellow
#7fecf8 rgb(127, 236, 248) hsl(186, 90%, 74%) Electric Blue