#640cd7 ≈ Han Purple
#640cd7 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 84.31% blue; printed in CMYK it uses 53.49% cyan, 94.42% magenta, 0% yellow and 15.69% black. Its hue angle is 266.01°, with 89.43% saturation and 44.51% 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.15:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.57.
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.0788 |
Shades
#640cd7 mixed progressively with black.
Tints
#640cd7 mixed progressively with white.
Tones
#640cd7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-640cd7 {
color: #640cd7;
}
.bg-640cd7 {
background-color: #640cd7;
color: #ffffff;
}
.border-640cd7 {
border: 2px solid #640cd7;
}
:root {
--color-primary: #640cd7;
--color-primary-rgb: 100 12 215;
--color-primary-hsl: 266 89% 45%;
}
.gradient-640cd7 {
background: linear-gradient(135deg, #640cd7, #ca0cd7);
}
.shadow-640cd7 {
box-shadow: 0 8px 24px rgb(100 12 215 / 0.35);
}
Han Purple
#640cd7 rgb(100, 12, 215) hsl(266, 89%, 45%) Han Purple
#7fd70c rgb(127, 215, 12) hsl(86, 89%, 45%) Yellow Green
#d7640c rgb(215, 100, 12) hsl(26, 89%, 45%) Chocolate
#0cd764 rgb(12, 215, 100) hsl(146, 89%, 45%) Malachite