#f87fdf ≈ Violet
#f87fdf 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 87.45% blue; printed in CMYK it uses 0% cyan, 48.79% magenta, 10.08% yellow and 2.75% black. Its hue angle is 312.4°, 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.09:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 3.74.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ff66cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4046 |
Shades
#f87fdf mixed progressively with black.
Tints
#f87fdf mixed progressively with white.
Tones
#f87fdf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f87fdf {
color: #f87fdf;
}
.bg-f87fdf {
background-color: #f87fdf;
color: #000000;
}
.border-f87fdf {
border: 2px solid #f87fdf;
}
:root {
--color-primary: #f87fdf;
--color-primary-rgb: 248 127 223;
--color-primary-hsl: 312 90% 74%;
}
.gradient-f87fdf {
background: linear-gradient(135deg, #f87fdf, #f87fa2);
}
.shadow-f87fdf {
box-shadow: 0 8px 24px rgb(248 127 223 / 0.35);
}
Violet
#f87fdf rgb(248, 127, 223) hsl(312, 90%, 74%) Violet
#7ff898 rgb(127, 248, 152) hsl(132, 90%, 74%) Pale Green
#dff87f rgb(223, 248, 127) hsl(72, 90%, 74%) Pastel Yellow
#7fdff8 rgb(127, 223, 248) hsl(192, 90%, 74%) Non-Photo Blue