#9e40ea ≈ Vivid Violet
#9e40ea is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 61.96% red, 25.1% green and 91.76% blue; printed in CMYK it uses 32.48% cyan, 72.65% magenta, 0% yellow and 8.24% black. Its hue angle is 273.18°, with 80.19% saturation and 58.43% 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 4.8:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 5.17.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9933ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1688 |
Shades
#9e40ea mixed progressively with black.
Tints
#9e40ea mixed progressively with white.
Tones
#9e40ea mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-9e40ea {
color: #9e40ea;
}
.bg-9e40ea {
background-color: #9e40ea;
color: #ffffff;
}
.border-9e40ea {
border: 2px solid #9e40ea;
}
:root {
--color-primary: #9e40ea;
--color-primary-rgb: 158 64 234;
--color-primary-hsl: 273 80% 58%;
}
.gradient-9e40ea {
background: linear-gradient(135deg, #9e40ea, #ea40e1);
}
.shadow-9e40ea {
box-shadow: 0 8px 24px rgb(158 64 234 / 0.35);
}
Vivid Violet
#9e40ea rgb(158, 64, 234) hsl(273, 80%, 58%) Vivid Violet
#8cea40 rgb(140, 234, 64) hsl(93, 80%, 58%) Inchworm
#ea9e40 rgb(234, 158, 64) hsl(33, 80%, 58%) Carrot Orange
#40ea9e rgb(64, 234, 158) hsl(153, 80%, 58%) Medium Spring Green