#d28fef ≈ Violet
#d28fef is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 82.35% red, 56.08% green and 93.73% blue; printed in CMYK it uses 12.13% cyan, 40.17% magenta, 0% yellow and 6.27% black. Its hue angle is 281.87°, with 75% saturation and 74.9% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. Black text on this color reaches a contrast ratio of 8.92:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 5.77.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc99ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3958 |
Shades
#d28fef mixed progressively with black.
Tints
#d28fef mixed progressively with white.
Tones
#d28fef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d28fef {
color: #d28fef;
}
.bg-d28fef {
background-color: #d28fef;
color: #000000;
}
.border-d28fef {
border: 2px solid #d28fef;
}
:root {
--color-primary: #d28fef;
--color-primary-rgb: 210 143 239;
--color-primary-hsl: 282 75% 75%;
}
.gradient-d28fef {
background: linear-gradient(135deg, #d28fef, #ef8fdc);
}
.shadow-d28fef {
box-shadow: 0 8px 24px rgb(210 143 239 / 0.35);
}
Violet
#d28fef rgb(210, 143, 239) hsl(282, 75%, 75%) Violet
#acef8f rgb(172, 239, 143) hsl(102, 75%, 75%) Light Green
#efd28f rgb(239, 210, 143) hsl(42, 75%, 75%) Buff
#8fefd2 rgb(143, 239, 210) hsl(162, 75%, 75%) Magic Mint