#AA2FF2

#aa2ff2 ≈ Electric Purple

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#aa2ff2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 66.67% red, 18.43% green and 94.9% blue; printed in CMYK it uses 29.75% cyan, 80.58% magenta, 0% yellow and 5.1% black. Its hue angle is 277.85°, with 88.24% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 4.77:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.24.

Description generated from the measured properties of this color.

Conversions of #aa2ff2 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.1699

Readable text 4.77:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #8c5fb4 ≈ 0.001% of males
Protanopia #006ef7 ≈ 1.01% of males
Deuteranopia #0074ee ≈ 1.27% of males
Tritanopia #9e6393 ≈ 0.0001% of males
Protanomaly #5c5bf5 ≈ 1.08% of males
Deuteranomaly #695ff0 ≈ 4.63% of males
Tritanomaly #a353c0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-aa2ff2 {
  color: #aa2ff2;
}
Background
.bg-aa2ff2 {
  background-color: #aa2ff2;
  color: #ffffff;
}
Border
.border-aa2ff2 {
  border: 2px solid #aa2ff2;
}
CSS variables
:root {
  --color-primary: #aa2ff2;
  --color-primary-rgb: 170 47 242;
  --color-primary-hsl: 278 88% 57%;
}
Gradient
.gradient-aa2ff2 {
  background: linear-gradient(135deg, #aa2ff2, #f22fd8);
}
Colored shadow
.shadow-aa2ff2 {
  box-shadow: 0 8px 24px rgb(170 47 242 / 0.35);
}

Electric Purple
#aa2ff2  rgb(170, 47, 242)  hsl(278, 88%, 57%)  Electric Purple
#77f22f  rgb(119, 242, 47)  hsl(98, 88%, 57%)  Lawn Green
#f2aa2f  rgb(242, 170, 47)  hsl(38, 88%, 57%)  Marigold
#2ff2aa  rgb(47, 242, 170)  hsl(158, 88%, 57%)  Medium Spring Green