#AC2DF2

#ac2df2 ≈ Electric Purple

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

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

Description generated from the measured properties of this color.

Conversions of #ac2df2 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.1706

Readable text 4.76:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.41:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #8d5eb4 ≈ 0.001% of males
Protanopia #006ef7 ≈ 1.01% of males
Deuteranopia #0074ee ≈ 1.27% of males
Tritanopia #a16293 ≈ 0.0001% of males
Protanomaly #5d5bf5 ≈ 1.08% of males
Deuteranomaly #6b5ff0 ≈ 4.63% of males
Tritanomaly #a652c0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#ac2df2  rgb(172, 45, 242)  hsl(279, 88%, 56%)  Electric Purple
#73f22d  rgb(115, 242, 45)  hsl(99, 88%, 56%)  Lawn Green
#f2ac2d  rgb(242, 172, 45)  hsl(39, 88%, 56%)  Marigold
#2df2ac  rgb(45, 242, 172)  hsl(159, 88%, 56%)  Medium Spring Green