#6504E5

#6504e5 ≈ Han Purple

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#6504e5 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 89.8% blue; printed in CMYK it uses 55.9% cyan, 98.25% magenta, 0% yellow and 10.2% black. Its hue angle is 265.87°, with 96.57% saturation and 45.69% 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.77:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.23.

Description generated from the measured properties of this color.

Conversions of #6504e5 into other color spaces
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 luminance0.0851

Readable text 7.77:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #5a40a3 ≈ 0.001% of males
Protanopia #0056ea ≈ 1.01% of males
Deuteranopia #004de2 ≈ 1.27% of males
Tritanopia #2a5c86 ≈ 0.0001% of males
Protanomaly #0043e8 ≈ 1.08% of males
Deuteranomaly #003ce3 ≈ 4.63% of males
Tritanomaly #4948b4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6504e5 {
  color: #6504e5;
}
Background
.bg-6504e5 {
  background-color: #6504e5;
  color: #ffffff;
}
Border
.border-6504e5 {
  border: 2px solid #6504e5;
}
CSS variables
:root {
  --color-primary: #6504e5;
  --color-primary-rgb: 101 4 229;
  --color-primary-hsl: 266 97% 46%;
}
Gradient
.gradient-6504e5 {
  background: linear-gradient(135deg, #6504e5, #d604e5);
}
Colored shadow
.shadow-6504e5 {
  box-shadow: 0 8px 24px rgb(101 4 229 / 0.35);
}

Han Purple
#6504e5  rgb(101, 4, 229)  hsl(266, 97%, 46%)  Han Purple
#84e504  rgb(132, 229, 4)  hsl(86, 97%, 46%)  Lawn Green
#e56504  rgb(229, 101, 4)  hsl(26, 97%, 46%)  Chocolate
#04e565  rgb(4, 229, 101)  hsl(146, 97%, 46%)  Malachite