#902dec ≈ Blue Violet
#902dec is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 56.47% red, 17.65% green and 92.55% blue; printed in CMYK it uses 38.98% cyan, 80.93% magenta, 0% yellow and 7.45% black. Its hue angle is 271.1°, with 83.41% saturation and 55.1% 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.57:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 1.81.
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.1386 |
Shades
#902dec mixed progressively with black.
Tints
#902dec mixed progressively with white.
Tones
#902dec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-902dec {
color: #902dec;
}
.bg-902dec {
background-color: #902dec;
color: #ffffff;
}
.border-902dec {
border: 2px solid #902dec;
}
:root {
--color-primary: #902dec;
--color-primary-rgb: 144 45 236;
--color-primary-hsl: 271 83% 55%;
}
.gradient-902dec {
background: linear-gradient(135deg, #902dec, #ec2de9);
}
.shadow-902dec {
box-shadow: 0 8px 24px rgb(144 45 236 / 0.35);
}
Blue Violet
#902dec rgb(144, 45, 236) hsl(271, 83%, 55%) Blue Violet
#89ec2d rgb(137, 236, 45) hsl(91, 83%, 55%) Lawn Green
#ec902d rgb(236, 144, 45) hsl(31, 83%, 55%) Carrot Orange
#2dec90 rgb(45, 236, 144) hsl(151, 83%, 55%) Medium Spring Green