#AA42E0

#aa42e0 ≈ Electric Purple

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

#aa42e0 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 66.67% red, 25.88% green and 87.84% blue; printed in CMYK it uses 24.11% cyan, 70.54% magenta, 0% yellow and 12.16% black. Its hue angle is 279.49°, with 71.82% saturation and 56.86% 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 4.6:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.04.

Description generated from the measured properties of this color.

Conversions of #aa42e0 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.1782

Readable text 4.6:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.56:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #8d64ab ≈ 0.001% of males
Protanopia #0070e5 ≈ 1.01% of males
Deuteranopia #2b77dd ≈ 1.27% of males
Tritanopia #a3658d ≈ 0.0001% of males
Protanomaly #6961e3 ≈ 1.08% of males
Deuteranomaly #7466de ≈ 4.63% of males
Tritanomaly #a659b4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-aa42e0 {
  color: #aa42e0;
}
Background
.bg-aa42e0 {
  background-color: #aa42e0;
  color: #ffffff;
}
Border
.border-aa42e0 {
  border: 2px solid #aa42e0;
}
CSS variables
:root {
  --color-primary: #aa42e0;
  --color-primary-rgb: 170 66 224;
  --color-primary-hsl: 279 72% 57%;
}
Gradient
.gradient-aa42e0 {
  background: linear-gradient(135deg, #aa42e0, #e042c7);
}
Colored shadow
.shadow-aa42e0 {
  box-shadow: 0 8px 24px rgb(170 66 224 / 0.35);
}

Electric Purple
#aa42e0  rgb(170, 66, 224)  hsl(279, 72%, 57%)  Electric Purple
#78e042  rgb(120, 224, 66)  hsl(99, 72%, 57%)  Lime Green
#e0aa42  rgb(224, 170, 66)  hsl(39, 72%, 57%)  Goldenrod
#42e0aa  rgb(66, 224, 170)  hsl(159, 72%, 57%)  Caribbean Green