#dc7fef ≈ Violet
#dc7fef is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 86.27% red, 49.8% green and 93.73% blue; printed in CMYK it uses 7.95% cyan, 46.86% magenta, 0% yellow and 6.27% black. Its hue angle is 289.82°, with 77.78% saturation and 71.76% 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 brand accents. Black text on this color reaches a contrast ratio of 8.33:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 3.51.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc66ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3663 |
Shades
#dc7fef mixed progressively with black.
Tints
#dc7fef mixed progressively with white.
Tones
#dc7fef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc7fef {
color: #dc7fef;
}
.bg-dc7fef {
background-color: #dc7fef;
color: #000000;
}
.border-dc7fef {
border: 2px solid #dc7fef;
}
:root {
--color-primary: #dc7fef;
--color-primary-rgb: 220 127 239;
--color-primary-hsl: 290 78% 72%;
}
.gradient-dc7fef {
background: linear-gradient(135deg, #dc7fef, #ef7fca);
}
.shadow-dc7fef {
box-shadow: 0 8px 24px rgb(220 127 239 / 0.35);
}
Violet
#dc7fef rgb(220, 127, 239) hsl(290, 78%, 72%) Violet
#92ef7f rgb(146, 239, 127) hsl(110, 78%, 72%) Light Green
#efdc7f rgb(239, 220, 127) hsl(50, 78%, 72%) Flax
#7fefdc rgb(127, 239, 220) hsl(170, 78%, 72%) Turquoise