#7940dd ≈ Blue Violet
#7940dd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 47.45% red, 25.1% green and 86.67% blue; printed in CMYK it uses 45.25% cyan, 71.04% magenta, 0% yellow and 13.33% black. Its hue angle is 261.78°, with 69.78% saturation and 55.88% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 5.85:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 3.72.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6633cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1295 |
Shades
#7940dd mixed progressively with black.
Tints
#7940dd mixed progressively with white.
Tones
#7940dd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7940dd {
color: #7940dd;
}
.bg-7940dd {
background-color: #7940dd;
color: #ffffff;
}
.border-7940dd {
border: 2px solid #7940dd;
}
:root {
--color-primary: #7940dd;
--color-primary-rgb: 121 64 221;
--color-primary-hsl: 262 70% 56%;
}
.gradient-7940dd {
background: linear-gradient(135deg, #7940dd, #c740dd);
}
.shadow-7940dd {
box-shadow: 0 8px 24px rgb(121 64 221 / 0.35);
}
Blue Violet
#7940dd rgb(121, 64, 221) hsl(262, 70%, 56%) Blue Violet
#a4dd40 rgb(164, 221, 64) hsl(82, 70%, 56%) Yellow Green
#dd7940 rgb(221, 121, 64) hsl(22, 70%, 56%) Raw Sienna
#40dd79 rgb(64, 221, 121) hsl(142, 70%, 56%) Pastel Green