#df87f2 ≈ Violet
#df87f2 is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 87.45% red, 52.94% green and 94.9% blue; printed in CMYK it uses 7.85% cyan, 44.21% magenta, 0% yellow and 5.1% black. Its hue angle is 289.35°, with 80.45% saturation and 73.92% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 8.89:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 3.07.
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.3943 |
Shades
#df87f2 mixed progressively with black.
Tints
#df87f2 mixed progressively with white.
Tones
#df87f2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-df87f2 {
color: #df87f2;
}
.bg-df87f2 {
background-color: #df87f2;
color: #000000;
}
.border-df87f2 {
border: 2px solid #df87f2;
}
:root {
--color-primary: #df87f2;
--color-primary-rgb: 223 135 242;
--color-primary-hsl: 289 80% 74%;
}
.gradient-df87f2 {
background: linear-gradient(135deg, #df87f2, #f287cf);
}
.shadow-df87f2 {
box-shadow: 0 8px 24px rgb(223 135 242 / 0.35);
}
Violet
#df87f2 rgb(223, 135, 242) hsl(289, 80%, 74%) Violet
#9af287 rgb(154, 242, 135) hsl(109, 80%, 74%) Light Green
#f2df87 rgb(242, 223, 135) hsl(49, 80%, 74%) Buff
#87f2df rgb(135, 242, 223) hsl(169, 80%, 74%) Turquoise