#642ddc ≈ Han Purple
#642ddc is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 39.22% red, 17.65% green and 86.27% blue; printed in CMYK it uses 54.55% cyan, 79.55% magenta, 0% yellow and 13.73% black. Its hue angle is 258.86°, with 71.43% saturation and 51.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 brand accents. White text on this color reaches a contrast ratio of 7.12:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.89.
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.0975 |
Shades
#642ddc mixed progressively with black.
Tints
#642ddc mixed progressively with white.
Tones
#642ddc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-642ddc {
color: #642ddc;
}
.bg-642ddc {
background-color: #642ddc;
color: #ffffff;
}
.border-642ddc {
border: 2px solid #642ddc;
}
:root {
--color-primary: #642ddc;
--color-primary-rgb: 100 45 220;
--color-primary-hsl: 259 71% 52%;
}
.gradient-642ddc {
background: linear-gradient(135deg, #642ddc, #bc2ddc);
}
.shadow-642ddc {
box-shadow: 0 8px 24px rgb(100 45 220 / 0.35);
}
Han Purple
#642ddc rgb(100, 45, 220) hsl(259, 71%, 52%) Han Purple
#a5dc2d rgb(165, 220, 45) hsl(79, 71%, 52%) Yellow Green
#dc642d rgb(220, 100, 45) hsl(19, 71%, 52%) Flame
#2ddc64 rgb(45, 220, 100) hsl(139, 71%, 52%) Malachite