#dc97f2 ≈ Violet
#dc97f2 is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 86.27% red, 59.22% green and 94.9% blue; printed in CMYK it uses 9.09% cyan, 37.6% magenta, 0% yellow and 5.1% black. Its hue angle is 285.49°, with 77.78% 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.75:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 5.59.
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.4376 |
Shades
#dc97f2 mixed progressively with black.
Tints
#dc97f2 mixed progressively with white.
Tones
#dc97f2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc97f2 {
color: #dc97f2;
}
.bg-dc97f2 {
background-color: #dc97f2;
color: #000000;
}
.border-dc97f2 {
border: 2px solid #dc97f2;
}
:root {
--color-primary: #dc97f2;
--color-primary-rgb: 220 151 242;
--color-primary-hsl: 285 78% 77%;
}
.gradient-dc97f2 {
background: linear-gradient(135deg, #dc97f2, #f297db);
}
.shadow-dc97f2 {
box-shadow: 0 8px 24px rgb(220 151 242 / 0.35);
}
Violet
#dc97f2 rgb(220, 151, 242) hsl(285, 78%, 77%) Violet
#adf297 rgb(173, 242, 151) hsl(105, 78%, 77%) Light Green
#f2dc97 rgb(242, 220, 151) hsl(45, 78%, 77%) Vanilla
#97f2dc rgb(151, 242, 220) hsl(165, 78%, 77%) Magic Mint