#7940fa ≈ Blue Violet
#7940fa 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 98.04% blue; printed in CMYK it uses 51.6% cyan, 74.4% magenta, 0% yellow and 1.96% black. Its hue angle is 258.39°, with 94.9% saturation and 61.57% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 5.35:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 5.32.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6633ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1463 |
Shades
#7940fa mixed progressively with black.
Tints
#7940fa mixed progressively with white.
Tones
#7940fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7940fa {
color: #7940fa;
}
.bg-7940fa {
background-color: #7940fa;
color: #ffffff;
}
.border-7940fa {
border: 2px solid #7940fa;
}
:root {
--color-primary: #7940fa;
--color-primary-rgb: 121 64 250;
--color-primary-hsl: 258 95% 62%;
}
.gradient-7940fa {
background: linear-gradient(135deg, #7940fa, #d640fa);
}
.shadow-7940fa {
box-shadow: 0 8px 24px rgb(121 64 250 / 0.35);
}
Blue Violet
#7940fa rgb(121, 64, 250) hsl(258, 95%, 62%) Blue Violet
#c1fa40 rgb(193, 250, 64) hsl(78, 95%, 62%) Green Yellow
#fa7940 rgb(250, 121, 64) hsl(18, 95%, 62%) Mango Tango
#40fa79 rgb(64, 250, 121) hsl(138, 95%, 62%) Spring Green