#6402d8 ≈ Han Purple
#6402d8 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 39.22% red, 0.78% green and 84.71% blue; printed in CMYK it uses 53.7% cyan, 99.07% magenta, 0% yellow and 15.29% black. Its hue angle is 267.48°, with 98.17% saturation and 42.75% 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.26:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.7.
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.0771 |
Shades
#6402d8 mixed progressively with black.
Tints
#6402d8 mixed progressively with white.
Tones
#6402d8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-6402d8 {
color: #6402d8;
}
.bg-6402d8 {
background-color: #6402d8;
color: #ffffff;
}
.border-6402d8 {
border: 2px solid #6402d8;
}
:root {
--color-primary: #6402d8;
--color-primary-rgb: 100 2 216;
--color-primary-hsl: 267 98% 43%;
}
.gradient-6402d8 {
background: linear-gradient(135deg, #6402d8, #cf02d8);
}
.shadow-6402d8 {
box-shadow: 0 8px 24px rgb(100 2 216 / 0.35);
}
Han Purple
#6402d8 rgb(100, 2, 216) hsl(267, 98%, 43%) Han Purple
#76d802 rgb(118, 216, 2) hsl(87, 98%, 43%) Yellow Green
#d86402 rgb(216, 100, 2) hsl(27, 98%, 43%) Chocolate
#02d864 rgb(2, 216, 100) hsl(147, 98%, 43%) Malachite