#9840ff ≈ Vivid Violet
#9840ff is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 59.61% red, 25.1% green and 100% blue; printed in CMYK it uses 40.39% cyan, 74.9% magenta, 0% yellow and 0% black. Its hue angle is 267.64°, 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.65:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 5.18.
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.1756 |
Shades
#9840ff mixed progressively with black.
Tints
#9840ff mixed progressively with white.
Tones
#9840ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-9840ff {
color: #9840ff;
}
.bg-9840ff {
background-color: #9840ff;
color: #ffffff;
}
.border-9840ff {
border: 2px solid #9840ff;
}
:root {
--color-primary: #9840ff;
--color-primary-rgb: 152 64 255;
--color-primary-hsl: 268 100% 63%;
}
.gradient-9840ff {
background: linear-gradient(135deg, #9840ff, #f740ff);
}
.shadow-9840ff {
box-shadow: 0 8px 24px rgb(152 64 255 / 0.35);
}
Vivid Violet
#9840ff rgb(152, 64, 255) hsl(268, 100%, 63%) Vivid Violet
#a7ff40 rgb(167, 255, 64) hsl(88, 100%, 63%) Green Yellow
#ff9840 rgb(255, 152, 64) hsl(28, 100%, 63%) Neon Carrot
#40ff98 rgb(64, 255, 152) hsl(148, 100%, 63%) Medium Spring Green