#f172df ≈ Violet
#f172df is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 94.51% red, 44.71% green and 87.45% blue; printed in CMYK it uses 0% cyan, 52.7% magenta, 7.47% yellow and 5.49% black. Its hue angle is 308.5°, with 81.94% saturation and 69.61% 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 8.21:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 3.68.
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.3606 |
Shades
#f172df mixed progressively with black.
Tints
#f172df mixed progressively with white.
Tones
#f172df mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f172df {
color: #f172df;
}
.bg-f172df {
background-color: #f172df;
color: #000000;
}
.border-f172df {
border: 2px solid #f172df;
}
:root {
--color-primary: #f172df;
--color-primary-rgb: 241 114 223;
--color-primary-hsl: 309 82% 70%;
}
.gradient-f172df {
background: linear-gradient(135deg, #f172df, #f172a0);
}
.shadow-f172df {
box-shadow: 0 8px 24px rgb(241 114 223 / 0.35);
}
Violet
#f172df rgb(241, 114, 223) hsl(309, 82%, 70%) Violet
#72f184 rgb(114, 241, 132) hsl(129, 82%, 70%) Light Green
#dff172 rgb(223, 241, 114) hsl(69, 82%, 70%) Pastel Yellow
#72dff1 rgb(114, 223, 241) hsl(189, 82%, 70%) Non-Photo Blue