#642ae2 ≈ Han Purple
#642ae2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 39.22% red, 16.47% green and 88.63% blue; printed in CMYK it uses 55.75% cyan, 81.42% magenta, 0% yellow and 11.37% black. Its hue angle is 258.91°, with 76.03% saturation and 52.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 brand accents. White text on this color reaches a contrast ratio of 7.07:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.25.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6633cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0986 |
Shades
#642ae2 mixed progressively with black.
Tints
#642ae2 mixed progressively with white.
Tones
#642ae2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-642ae2 {
color: #642ae2;
}
.bg-642ae2 {
background-color: #642ae2;
color: #ffffff;
}
.border-642ae2 {
border: 2px solid #642ae2;
}
:root {
--color-primary: #642ae2;
--color-primary-rgb: 100 42 226;
--color-primary-hsl: 259 76% 53%;
}
.gradient-642ae2 {
background: linear-gradient(135deg, #642ae2, #c02ae2);
}
.shadow-642ae2 {
box-shadow: 0 8px 24px rgb(100 42 226 / 0.35);
}
Han Purple
#642ae2 rgb(100, 42, 226) hsl(259, 76%, 53%) Han Purple
#a8e22a rgb(168, 226, 42) hsl(79, 76%, 53%) Inchworm
#e2642a rgb(226, 100, 42) hsl(19, 76%, 53%) Flame
#2ae264 rgb(42, 226, 100) hsl(139, 76%, 53%) Malachite