#7040fa ≈ Majorelle Blue
#7040fa is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 43.92% red, 25.1% green and 98.04% blue; printed in CMYK it uses 55.2% cyan, 74.4% magenta, 0% yellow and 1.96% black. Its hue angle is 255.48°, 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.52:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 5.26.
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.1401 |
Shades
#7040fa mixed progressively with black.
Tints
#7040fa mixed progressively with white.
Tones
#7040fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7040fa {
color: #7040fa;
}
.bg-7040fa {
background-color: #7040fa;
color: #ffffff;
}
.border-7040fa {
border: 2px solid #7040fa;
}
:root {
--color-primary: #7040fa;
--color-primary-rgb: 112 64 250;
--color-primary-hsl: 255 95% 62%;
}
.gradient-7040fa {
background: linear-gradient(135deg, #7040fa, #cd40fa);
}
.shadow-7040fa {
box-shadow: 0 8px 24px rgb(112 64 250 / 0.35);
}
Majorelle Blue
#7040fa rgb(112, 64, 250) hsl(255, 95%, 62%) Majorelle Blue
#cafa40 rgb(202, 250, 64) hsl(75, 95%, 62%) Electric Lime
#fa7040 rgb(250, 112, 64) hsl(15, 95%, 62%) Coral
#40fa70 rgb(64, 250, 112) hsl(135, 95%, 62%) Spring Green