#8042EC

#8042ec ≈ Blue Violet

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

#8042ec 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.88% green and 92.55% blue; printed in CMYK it uses 45.76% cyan, 72.03% magenta, 0% yellow and 7.45% black. Its hue angle is 261.88°, with 81.73% saturation and 59.22% 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 5.37:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 4.23.

Description generated from the measured properties of this color.

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

Readable text 5.37:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.91:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6a6a6a ≈ 0.003% of males
Achromatomaly #745dae ≈ 0.001% of males
Protanopia #006cf1 ≈ 1.01% of males
Deuteranopia #0067e9 ≈ 1.27% of males
Tritanopia #606f93 ≈ 0.0001% of males
Protanomaly #365eef ≈ 1.08% of males
Deuteranomaly #3d5bea ≈ 4.63% of males
Tritanomaly #6e60bd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8042ec {
  color: #8042ec;
}
Background
.bg-8042ec {
  background-color: #8042ec;
  color: #ffffff;
}
Border
.border-8042ec {
  border: 2px solid #8042ec;
}
CSS variables
:root {
  --color-primary: #8042ec;
  --color-primary-rgb: 128 66 236;
  --color-primary-hsl: 262 82% 59%;
}
Gradient
.gradient-8042ec {
  background: linear-gradient(135deg, #8042ec, #d542ec);
}
Colored shadow
.shadow-8042ec {
  box-shadow: 0 8px 24px rgb(128 66 236 / 0.35);
}

Blue Violet
#8042ec  rgb(128, 66, 236)  hsl(262, 82%, 59%)  Blue Violet
#aeec42  rgb(174, 236, 66)  hsl(82, 82%, 59%)  Inchworm
#ec8042  rgb(236, 128, 66)  hsl(22, 82%, 59%)  Mango Tango
#42ec80  rgb(66, 236, 128)  hsl(142, 82%, 59%)  Spring Green