#df97f0 ≈ Violet
#df97f0 is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 87.45% red, 59.22% green and 94.12% blue; printed in CMYK it uses 7.08% cyan, 37.08% magenta, 0% yellow and 5.88% black. Its hue angle is 288.54°, with 74.79% saturation and 76.67% 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.82:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 5.2.
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.4411 |
Shades
#df97f0 mixed progressively with black.
Tints
#df97f0 mixed progressively with white.
Tones
#df97f0 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-df97f0 {
color: #df97f0;
}
.bg-df97f0 {
background-color: #df97f0;
color: #000000;
}
.border-df97f0 {
border: 2px solid #df97f0;
}
:root {
--color-primary: #df97f0;
--color-primary-rgb: 223 151 240;
--color-primary-hsl: 289 75% 77%;
}
.gradient-df97f0 {
background: linear-gradient(135deg, #df97f0, #f097d5);
}
.shadow-df97f0 {
box-shadow: 0 8px 24px rgb(223 151 240 / 0.35);
}
Violet
#df97f0 rgb(223, 151, 240) hsl(289, 75%, 77%) Violet
#a8f097 rgb(168, 240, 151) hsl(109, 75%, 77%) Light Green
#f0df97 rgb(240, 223, 151) hsl(49, 75%, 77%) Flax
#97f0df rgb(151, 240, 223) hsl(169, 75%, 77%) Magic Mint