#A042EC

#a042ec ≈ Electric Purple

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

#a042ec is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 62.75% red, 25.88% green and 92.55% blue; printed in CMYK it uses 32.2% cyan, 72.03% magenta, 0% yellow and 7.45% black. Its hue angle is 273.18°, 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 4.68:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.24.

Description generated from the measured properties of this color.

Conversions of #a042ec 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.1743

Readable text 4.68:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.49:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #8864b1 ≈ 0.001% of males
Protanopia #0071f1 ≈ 1.01% of males
Deuteranopia #0074e8 ≈ 1.27% of males
Tritanopia #926b94 ≈ 0.0001% of males
Protanomaly #5b62ef ≈ 1.08% of males
Deuteranomaly #6564ea ≈ 4.63% of males
Tritanomaly #985dbe ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#a042ec  rgb(160, 66, 236)  hsl(273, 82%, 59%)  Electric Purple
#8eec42  rgb(142, 236, 66)  hsl(93, 82%, 59%)  Lawn Green
#eca042  rgb(236, 160, 66)  hsl(33, 82%, 59%)  Neon Carrot
#42eca0  rgb(66, 236, 160)  hsl(153, 82%, 59%)  Medium Spring Green