#6504ef ≈ Han Purple
#6504ef is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 39.61% red, 1.57% green and 93.73% blue; printed in CMYK it uses 57.74% cyan, 98.33% magenta, 0% yellow and 6.27% black. Its hue angle is 264.77°, with 96.71% saturation and 47.65% 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.45:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.34.
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.0909 |
Shades
#6504ef mixed progressively with black.
Tints
#6504ef mixed progressively with white.
Tones
#6504ef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-6504ef {
color: #6504ef;
}
.bg-6504ef {
background-color: #6504ef;
color: #ffffff;
}
.border-6504ef {
border: 2px solid #6504ef;
}
:root {
--color-primary: #6504ef;
--color-primary-rgb: 101 4 239;
--color-primary-hsl: 265 97% 48%;
}
.gradient-6504ef {
background: linear-gradient(135deg, #6504ef, #db04ef);
}
.shadow-6504ef {
box-shadow: 0 8px 24px rgb(101 4 239 / 0.35);
}
Han Purple
#6504ef rgb(101, 4, 239) hsl(265, 97%, 48%) Han Purple
#8eef04 rgb(142, 239, 4) hsl(85, 97%, 48%) Lawn Green
#ef6504 rgb(239, 101, 4) hsl(25, 97%, 48%) Persimmon
#04ef65 rgb(4, 239, 101) hsl(145, 97%, 48%) Spring Green