#640cf2 ≈ Han Purple
#640cf2 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 94.9% blue; printed in CMYK it uses 58.68% cyan, 95.04% magenta, 0% yellow and 5.1% black. Its hue angle is 262.96°, with 90.55% saturation and 49.8% 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 7.3:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.94.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6600ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0938 |
Shades
#640cf2 mixed progressively with black.
Tints
#640cf2 mixed progressively with white.
Tones
#640cf2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-640cf2 {
color: #640cf2;
}
.bg-640cf2 {
background-color: #640cf2;
color: #ffffff;
}
.border-640cf2 {
border: 2px solid #640cf2;
}
:root {
--color-primary: #640cf2;
--color-primary-rgb: 100 12 242;
--color-primary-hsl: 263 91% 50%;
}
.gradient-640cf2 {
background: linear-gradient(135deg, #640cf2, #d70cf2);
}
.shadow-640cf2 {
box-shadow: 0 8px 24px rgb(100 12 242 / 0.35);
}
Han Purple
#640cf2 rgb(100, 12, 242) hsl(263, 91%, 50%) Han Purple
#9af20c rgb(154, 242, 12) hsl(83, 91%, 50%) Spring Bud
#f2640c rgb(242, 100, 12) hsl(23, 91%, 50%) Persimmon
#0cf264 rgb(12, 242, 100) hsl(143, 91%, 50%) Spring Green