#A042FF

#a042ff ≈ Electric Purple

  • violet
  • Lightness: high
  • Saturation: strong
  • Cool

#a042ff is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 62.75% red, 25.88% green and 100% blue; printed in CMYK it uses 37.25% cyan, 74.12% magenta, 0% yellow and 0% black. Its hue angle is 269.84°, with 100% saturation and 62.94% 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. Black text on this color reaches a contrast ratio of 4.72:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.35.

Description generated from the measured properties of this color.

Conversions of #a042ff 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.1859

Readable text 4.45:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.72:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #8a66bd ≈ 0.001% of males
Protanopia #0076ff ≈ 1.01% of males
Deuteranopia #0076fb ≈ 1.27% of males
Tritanopia #8b739e ≈ 0.0001% of males
Protanomaly #5265ff ≈ 1.08% of males
Deuteranomaly #5d65fd ≈ 4.63% of males
Tritanomaly #9463cc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a042ff {
  color: #a042ff;
}
Background
.bg-a042ff {
  background-color: #a042ff;
  color: #000000;
}
Border
.border-a042ff {
  border: 2px solid #a042ff;
}
CSS variables
:root {
  --color-primary: #a042ff;
  --color-primary-rgb: 160 66 255;
  --color-primary-hsl: 270 100% 63%;
}
Gradient
.gradient-a042ff {
  background: linear-gradient(135deg, #a042ff, #fe42ff);
}
Colored shadow
.shadow-a042ff {
  box-shadow: 0 8px 24px rgb(160 66 255 / 0.35);
}

Electric Purple
#a042ff  rgb(160, 66, 255)  hsl(270, 100%, 63%)  Electric Purple
#a1ff42  rgb(161, 255, 66)  hsl(90, 100%, 63%)  Green Yellow
#ffa042  rgb(255, 160, 66)  hsl(30, 100%, 63%)  Neon Carrot
#42ffa0  rgb(66, 255, 160)  hsl(150, 100%, 63%)  Medium Spring Green