#f28cfd ≈ Violet
#f28cfd 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.9% green and 99.22% blue; printed in CMYK it uses 4.35% cyan, 44.66% magenta, 0% yellow and 0.78% black. Its hue angle is 294.16°, with 96.58% saturation and 77.06% 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.95:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 2.82.
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.4473 |
Shades
#f28cfd mixed progressively with black.
Tints
#f28cfd mixed progressively with white.
Tones
#f28cfd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f28cfd {
color: #f28cfd;
}
.bg-f28cfd {
background-color: #f28cfd;
color: #000000;
}
.border-f28cfd {
border: 2px solid #f28cfd;
}
:root {
--color-primary: #f28cfd;
--color-primary-rgb: 242 140 253;
--color-primary-hsl: 294 97% 77%;
}
.gradient-f28cfd {
background: linear-gradient(135deg, #f28cfd, #fd8cd0);
}
.shadow-f28cfd {
box-shadow: 0 8px 24px rgb(242 140 253 / 0.35);
}
Violet
#f28cfd rgb(242, 140, 253) hsl(294, 97%, 77%) Violet
#97fd8c rgb(151, 253, 140) hsl(114, 97%, 77%) Mint Green
#fdf28c rgb(253, 242, 140) hsl(54, 97%, 77%) Khaki
#8cfdf2 rgb(140, 253, 242) hsl(174, 97%, 77%) Electric Blue