#9540ff ≈ Vivid Violet
#9540ff is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 58.43% red, 25.1% green and 100% blue; printed in CMYK it uses 41.57% cyan, 74.9% magenta, 0% yellow and 0% black. Its hue angle is 266.7°, with 100% saturation and 62.55% 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.71:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 5.1.
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.1728 |
Shades
#9540ff mixed progressively with black.
Tints
#9540ff mixed progressively with white.
Tones
#9540ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-9540ff {
color: #9540ff;
}
.bg-9540ff {
background-color: #9540ff;
color: #ffffff;
}
.border-9540ff {
border: 2px solid #9540ff;
}
:root {
--color-primary: #9540ff;
--color-primary-rgb: 149 64 255;
--color-primary-hsl: 267 100% 63%;
}
.gradient-9540ff {
background: linear-gradient(135deg, #9540ff, #f440ff);
}
.shadow-9540ff {
box-shadow: 0 8px 24px rgb(149 64 255 / 0.35);
}
Vivid Violet
#9540ff rgb(149, 64, 255) hsl(267, 100%, 63%) Vivid Violet
#aaff40 rgb(170, 255, 64) hsl(87, 100%, 63%) Green Yellow
#ff9540 rgb(255, 149, 64) hsl(27, 100%, 63%) Cadmium Orange
#40ff95 rgb(64, 255, 149) hsl(147, 100%, 63%) Medium Spring Green