#7540cf ≈ Blue Violet
#7540cf is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 45.88% red, 25.1% green and 81.18% blue; printed in CMYK it uses 43.48% cyan, 69.08% magenta, 0% yellow and 18.82% black. Its hue angle is 262.24°, with 59.83% saturation and 53.14% 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 6.19:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 4.5.
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.1195 |
Shades
#7540cf mixed progressively with black.
Tints
#7540cf mixed progressively with white.
Tones
#7540cf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7540cf {
color: #7540cf;
}
.bg-7540cf {
background-color: #7540cf;
color: #ffffff;
}
.border-7540cf {
border: 2px solid #7540cf;
}
:root {
--color-primary: #7540cf;
--color-primary-rgb: 117 64 207;
--color-primary-hsl: 262 60% 53%;
}
.gradient-7540cf {
background: linear-gradient(135deg, #7540cf, #bd40cf);
}
.shadow-7540cf {
box-shadow: 0 8px 24px rgb(117 64 207 / 0.35);
}
Blue Violet
#7540cf rgb(117, 64, 207) hsl(262, 60%, 53%) Blue Violet
#9acf40 rgb(154, 207, 64) hsl(82, 60%, 53%) Yellow Green
#cf7540 rgb(207, 117, 64) hsl(22, 60%, 53%) Chocolate
#40cf75 rgb(64, 207, 117) hsl(142, 60%, 53%) Emerald