#AC2FF2

#ac2ff2 ≈ Electric Purple

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

#ac2ff2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 67.45% red, 18.43% green and 94.9% blue; printed in CMYK it uses 28.93% cyan, 80.58% magenta, 0% yellow and 5.1% black. Its hue angle is 278.46°, 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.73:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.98.

Description generated from the measured properties of this color.

Conversions of #ac2ff2 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.1721

Readable text 4.73:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.44:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #8d5fb4 ≈ 0.001% of males
Protanopia #006ff7 ≈ 1.01% of males
Deuteranopia #0075ee ≈ 1.27% of males
Tritanopia #a16393 ≈ 0.0001% of males
Protanomaly #5e5cf5 ≈ 1.08% of males
Deuteranomaly #6c60f0 ≈ 4.63% of males
Tritanomaly #a653c0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#ac2ff2  rgb(172, 47, 242)  hsl(278, 88%, 57%)  Electric Purple
#75f22f  rgb(117, 242, 47)  hsl(98, 88%, 57%)  Lawn Green
#f2ac2f  rgb(242, 172, 47)  hsl(38, 88%, 57%)  Marigold
#2ff2ac  rgb(47, 242, 172)  hsl(158, 88%, 57%)  Medium Spring Green