#640CF8

#640cf8 ≈ Electric Indigo

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

#640cf8 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 97.25% blue; printed in CMYK it uses 59.68% cyan, 95.16% magenta, 0% yellow and 2.75% black. Its hue angle is 262.37°, with 94.4% saturation and 50.98% 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.12:1 (WCAG AAA). The closest named color is Electric Indigo (#6f00ff), ΔE 1.58.

Description generated from the measured properties of this color.

Conversions of #640cf8 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.0975

Readable text 7.12:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.95:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #5d45b0 ≈ 0.001% of males
Protanopia #005dfe ≈ 1.01% of males
Deuteranopia #0051f4 ≈ 1.27% of males
Tritanopia #006692 ≈ 0.0001% of males
Protanomaly #004afb ≈ 1.08% of males
Deuteranomaly #0040f6 ≈ 4.63% of males
Tritanomaly #3d50c3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-640cf8 {
  color: #640cf8;
}
Background
.bg-640cf8 {
  background-color: #640cf8;
  color: #ffffff;
}
Border
.border-640cf8 {
  border: 2px solid #640cf8;
}
CSS variables
:root {
  --color-primary: #640cf8;
  --color-primary-rgb: 100 12 248;
  --color-primary-hsl: 262 94% 51%;
}
Gradient
.gradient-640cf8 {
  background: linear-gradient(135deg, #640cf8, #da0cf8);
}
Colored shadow
.shadow-640cf8 {
  box-shadow: 0 8px 24px rgb(100 12 248 / 0.35);
}

Electric Indigo
#640cf8  rgb(100, 12, 248)  hsl(262, 94%, 51%)  Electric Indigo
#a0f80c  rgb(160, 248, 12)  hsl(82, 94%, 51%)  Spring Bud
#f8640c  rgb(248, 100, 12)  hsl(22, 94%, 51%)  Persimmon
#0cf864  rgb(12, 248, 100)  hsl(142, 94%, 51%)  Spring Green