#640CD7

#640cd7 ≈ Han Purple

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

#640cd7 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.31% blue; printed in CMYK it uses 53.49% cyan, 94.42% magenta, 0% yellow and 15.69% black. Its hue angle is 266.01°, with 89.43% saturation and 44.51% 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.15:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.57.

Description generated from the measured properties of this color.

Conversions of #640cd7 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.0788

Readable text 8.15:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #583e99 ≈ 0.001% of males
Protanopia #0052dc ≈ 1.01% of males
Deuteranopia #004bd4 ≈ 1.27% of males
Tritanopia #37567e ≈ 0.0001% of males
Protanomaly #0041da ≈ 1.08% of males
Deuteranomaly #003bd5 ≈ 4.63% of males
Tritanomaly #4d44a9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#640cd7  rgb(100, 12, 215)  hsl(266, 89%, 45%)  Han Purple
#7fd70c  rgb(127, 215, 12)  hsl(86, 89%, 45%)  Yellow Green
#d7640c  rgb(215, 100, 12)  hsl(26, 89%, 45%)  Chocolate
#0cd764  rgb(12, 215, 100)  hsl(146, 89%, 45%)  Malachite