#8a40db ≈ Blue Violet
#8a40db is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 54.12% red, 25.1% green and 85.88% blue; printed in CMYK it uses 36.99% cyan, 70.78% magenta, 0% yellow and 14.12% black. Its hue angle is 268.65°, with 68.28% saturation and 55.49% 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.47:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 3.22.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9933cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1418 |
Shades
#8a40db mixed progressively with black.
Tints
#8a40db mixed progressively with white.
Tones
#8a40db mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a40db {
color: #8a40db;
}
.bg-8a40db {
background-color: #8a40db;
color: #ffffff;
}
.border-8a40db {
border: 2px solid #8a40db;
}
:root {
--color-primary: #8a40db;
--color-primary-rgb: 138 64 219;
--color-primary-hsl: 269 68% 55%;
}
.gradient-8a40db {
background: linear-gradient(135deg, #8a40db, #d840db);
}
.shadow-8a40db {
box-shadow: 0 8px 24px rgb(138 64 219 / 0.35);
}
Blue Violet
#8a40db rgb(138, 64, 219) hsl(269, 68%, 55%) Blue Violet
#91db40 rgb(145, 219, 64) hsl(89, 68%, 55%) Yellow Green
#db8a40 rgb(219, 138, 64) hsl(29, 68%, 55%) Peru
#40db8a rgb(64, 219, 138) hsl(149, 68%, 55%) Emerald