#AA42DF

#aa42df ≈ Electric Purple

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

#aa42df 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.45% blue; printed in CMYK it uses 23.77% cyan, 70.4% magenta, 0% yellow and 12.55% black. Its hue angle is 279.75°, with 71.04% saturation and 56.67% 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.61:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.12.

Description generated from the measured properties of this color.

Conversions of #aa42df 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.1777

Readable text 4.61:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.55:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #8d64aa ≈ 0.001% of males
Protanopia #0070e4 ≈ 1.01% of males
Deuteranopia #2d77dc ≈ 1.27% of males
Tritanopia #a3648c ≈ 0.0001% of males
Protanomaly #6961e2 ≈ 1.08% of males
Deuteranomaly #7566dd ≈ 4.63% of males
Tritanomaly #a658b3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#aa42df  rgb(170, 66, 223)  hsl(280, 71%, 57%)  Electric Purple
#77df42  rgb(119, 223, 66)  hsl(100, 71%, 57%)  Lime Green
#dfaa42  rgb(223, 170, 66)  hsl(40, 71%, 57%)  Goldenrod
#42dfaa  rgb(66, 223, 170)  hsl(160, 71%, 57%)  Caribbean Green