#640cd9 ≈ Han Purple
#640cd9 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 39.22% red, 4.71% green and 85.1% blue; printed in CMYK it uses 53.92% cyan, 94.47% magenta, 0% yellow and 14.9% black. Its hue angle is 265.76°, with 89.52% saturation and 44.9% 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 8.09:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.33.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6600cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0798 |
Shades
#640cd9 mixed progressively with black.
Tints
#640cd9 mixed progressively with white.
Tones
#640cd9 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-640cd9 {
color: #640cd9;
}
.bg-640cd9 {
background-color: #640cd9;
color: #ffffff;
}
.border-640cd9 {
border: 2px solid #640cd9;
}
:root {
--color-primary: #640cd9;
--color-primary-rgb: 100 12 217;
--color-primary-hsl: 266 90% 45%;
}
.gradient-640cd9 {
background: linear-gradient(135deg, #640cd9, #cb0cd9);
}
.shadow-640cd9 {
box-shadow: 0 8px 24px rgb(100 12 217 / 0.35);
}
Han Purple
#640cd9 rgb(100, 12, 217) hsl(266, 90%, 45%) Han Purple
#81d90c rgb(129, 217, 12) hsl(86, 90%, 45%) Yellow Green
#d9640c rgb(217, 100, 12) hsl(26, 90%, 45%) Chocolate
#0cd964 rgb(12, 217, 100) hsl(146, 90%, 45%) Malachite