#640CD8

#640cd8 ≈ Han Purple

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

#640cd8 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 39.22% red, 4.71% green and 84.71% blue; printed in CMYK it uses 53.7% cyan, 94.44% magenta, 0% yellow and 15.29% black. Its hue angle is 265.88°, with 89.47% saturation and 44.71% 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.12:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.45.

Description generated from the measured properties of this color.

Conversions of #640cd8 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.0793

Readable text 8.12:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.59:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #583f9a ≈ 0.001% of males
Protanopia #0053dd ≈ 1.01% of males
Deuteranopia #004bd5 ≈ 1.27% of males
Tritanopia #36577f ≈ 0.0001% of males
Protanomaly #0041db ≈ 1.08% of males
Deuteranomaly #003bd6 ≈ 4.63% of males
Tritanomaly #4c44aa ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-640cd8 {
  color: #640cd8;
}
Background
.bg-640cd8 {
  background-color: #640cd8;
  color: #ffffff;
}
Border
.border-640cd8 {
  border: 2px solid #640cd8;
}
CSS variables
:root {
  --color-primary: #640cd8;
  --color-primary-rgb: 100 12 216;
  --color-primary-hsl: 266 89% 45%;
}
Gradient
.gradient-640cd8 {
  background: linear-gradient(135deg, #640cd8, #ca0cd8);
}
Colored shadow
.shadow-640cd8 {
  box-shadow: 0 8px 24px rgb(100 12 216 / 0.35);
}

Han Purple
#640cd8  rgb(100, 12, 216)  hsl(266, 89%, 45%)  Han Purple
#80d80c  rgb(128, 216, 12)  hsl(86, 89%, 45%)  Yellow Green
#d8640c  rgb(216, 100, 12)  hsl(26, 89%, 45%)  Chocolate
#0cd864  rgb(12, 216, 100)  hsl(146, 89%, 45%)  Malachite