#640EF2

#640ef2 ≈ Han Purple

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

#640ef2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 39.22% red, 5.49% green and 94.9% blue; printed in CMYK it uses 58.68% cyan, 94.21% magenta, 0% yellow and 5.1% black. Its hue angle is 262.63°, with 89.76% saturation and 50.2% 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.27:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.91.

Description generated from the measured properties of this color.

Conversions of #640ef2 into other color spaces
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 luminance0.0943

Readable text 7.27:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.89:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #575757 ≈ 0.003% of males
Achromatomaly #5c44ac ≈ 0.001% of males
Protanopia #005cf7 ≈ 1.01% of males
Deuteranopia #0050ee ≈ 1.27% of males
Tritanopia #03638f ≈ 0.0001% of males
Protanomaly #0048f5 ≈ 1.08% of males
Deuteranomaly #003ff0 ≈ 4.63% of males
Tritanomaly #404ebf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-640ef2 {
  color: #640ef2;
}
Background
.bg-640ef2 {
  background-color: #640ef2;
  color: #ffffff;
}
Border
.border-640ef2 {
  border: 2px solid #640ef2;
}
CSS variables
:root {
  --color-primary: #640ef2;
  --color-primary-rgb: 100 14 242;
  --color-primary-hsl: 263 90% 50%;
}
Gradient
.gradient-640ef2 {
  background: linear-gradient(135deg, #640ef2, #d60ef2);
}
Colored shadow
.shadow-640ef2 {
  box-shadow: 0 8px 24px rgb(100 14 242 / 0.35);
}

Han Purple
#640ef2  rgb(100, 14, 242)  hsl(263, 90%, 50%)  Han Purple
#9cf20e  rgb(156, 242, 14)  hsl(83, 90%, 50%)  Spring Bud
#f2640e  rgb(242, 100, 14)  hsl(23, 90%, 50%)  Persimmon
#0ef264  rgb(14, 242, 100)  hsl(143, 90%, 50%)  Spring Green