#f28bf7 ≈ Violet
#f28bf7 is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 54.51% green and 96.86% blue; printed in CMYK it uses 2.02% cyan, 43.72% magenta, 0% yellow and 3.14% black. Its hue angle is 297.22°, with 87.1% saturation and 75.69% 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.81:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 2.13.
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.4406 |
Shades
#f28bf7 mixed progressively with black.
Tints
#f28bf7 mixed progressively with white.
Tones
#f28bf7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f28bf7 {
color: #f28bf7;
}
.bg-f28bf7 {
background-color: #f28bf7;
color: #000000;
}
.border-f28bf7 {
border: 2px solid #f28bf7;
}
:root {
--color-primary: #f28bf7;
--color-primary-rgb: 242 139 247;
--color-primary-hsl: 297 87% 76%;
}
.gradient-f28bf7 {
background: linear-gradient(135deg, #f28bf7, #f78bc6);
}
.shadow-f28bf7 {
box-shadow: 0 8px 24px rgb(242 139 247 / 0.35);
}
Violet
#f28bf7 rgb(242, 139, 247) hsl(297, 87%, 76%) Violet
#90f78b rgb(144, 247, 139) hsl(117, 87%, 76%) Pale Green
#f7f28b rgb(247, 242, 139) hsl(57, 87%, 76%) Pastel Yellow
#8bf7f2 rgb(139, 247, 242) hsl(177, 87%, 76%) Electric Blue