#8040E4

#8040e4 ≈ Blue Violet

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#8040e4 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 50.2% red, 25.1% green and 89.41% blue; printed in CMYK it uses 43.86% cyan, 71.93% magenta, 0% yellow and 10.59% black. Its hue angle is 263.41°, with 75.23% saturation and 57.25% 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 brand accents. White text on this color reaches a contrast ratio of 5.57:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 3.41.

Description generated from the measured properties of this color.

Conversions of #8040e4 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#9933cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1386

Readable text 5.57:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.77:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #686868 ≈ 0.003% of males
Achromatomaly #725ba8 ≈ 0.001% of males
Protanopia #0069e9 ≈ 1.01% of males
Deuteranopia #0066e1 ≈ 1.27% of males
Tritanopia #646a8e ≈ 0.0001% of males
Protanomaly #3b5be7 ≈ 1.08% of males
Deuteranomaly #4259e2 ≈ 4.63% of males
Tritanomaly #705cb7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8040e4 {
  color: #8040e4;
}
Background
.bg-8040e4 {
  background-color: #8040e4;
  color: #ffffff;
}
Border
.border-8040e4 {
  border: 2px solid #8040e4;
}
CSS variables
:root {
  --color-primary: #8040e4;
  --color-primary-rgb: 128 64 228;
  --color-primary-hsl: 263 75% 57%;
}
Gradient
.gradient-8040e4 {
  background: linear-gradient(135deg, #8040e4, #d240e4);
}
Colored shadow
.shadow-8040e4 {
  box-shadow: 0 8px 24px rgb(128 64 228 / 0.35);
}

Blue Violet
#8040e4  rgb(128, 64, 228)  hsl(263, 75%, 57%)  Blue Violet
#a4e440  rgb(164, 228, 64)  hsl(83, 75%, 57%)  Inchworm
#e48040  rgb(228, 128, 64)  hsl(23, 75%, 57%)  Raw Sienna
#40e480  rgb(64, 228, 128)  hsl(143, 75%, 57%)  Pastel Green