#f28dfd ≈ Violet
#f28dfd is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 55.29% green and 99.22% blue; printed in CMYK it uses 4.35% cyan, 44.27% magenta, 0% yellow and 0.78% black. Its hue angle is 294.11°, with 96.55% saturation and 77.25% 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 10:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 2.94.
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.4502 |
Shades
#f28dfd mixed progressively with black.
Tints
#f28dfd mixed progressively with white.
Tones
#f28dfd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f28dfd {
color: #f28dfd;
}
.bg-f28dfd {
background-color: #f28dfd;
color: #000000;
}
.border-f28dfd {
border: 2px solid #f28dfd;
}
:root {
--color-primary: #f28dfd;
--color-primary-rgb: 242 141 253;
--color-primary-hsl: 294 97% 77%;
}
.gradient-f28dfd {
background: linear-gradient(135deg, #f28dfd, #fd8dd0);
}
.shadow-f28dfd {
box-shadow: 0 8px 24px rgb(242 141 253 / 0.35);
}
Violet
#f28dfd rgb(242, 141, 253) hsl(294, 97%, 77%) Violet
#98fd8d rgb(152, 253, 141) hsl(114, 97%, 77%) Mint Green
#fdf28d rgb(253, 242, 141) hsl(54, 97%, 77%) Khaki
#8dfdf2 rgb(141, 253, 242) hsl(174, 97%, 77%) Electric Blue