#640ec8 ≈ Han Purple
#640ec8 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 39.22% red, 5.49% green and 78.43% blue; printed in CMYK it uses 50% cyan, 93% magenta, 0% yellow and 21.57% black. Its hue angle is 267.74°, with 86.92% saturation and 41.96% 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.61:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 6.37.
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.0719 |
Shades
#640ec8 mixed progressively with black.
Tints
#640ec8 mixed progressively with white.
Tones
#640ec8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-640ec8 {
color: #640ec8;
}
.bg-640ec8 {
background-color: #640ec8;
color: #ffffff;
}
.border-640ec8 {
border: 2px solid #640ec8;
}
:root {
--color-primary: #640ec8;
--color-primary-rgb: 100 14 200;
--color-primary-hsl: 268 87% 42%;
}
.gradient-640ec8 {
background: linear-gradient(135deg, #640ec8, #c10ec8);
}
.shadow-640ec8 {
box-shadow: 0 8px 24px rgb(100 14 200 / 0.35);
}
Han Purple
#640ec8 rgb(100, 14, 200) hsl(268, 87%, 42%) Han Purple
#72c80e rgb(114, 200, 14) hsl(88, 87%, 42%) Yellow Green
#c8640e rgb(200, 100, 14) hsl(28, 87%, 42%) Chocolate
#0ec864 rgb(14, 200, 100) hsl(148, 87%, 42%) Emerald