#AC28EB

#ac28eb ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Cool

#ac28eb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 67.45% red, 15.69% green and 92.16% blue; printed in CMYK it uses 26.81% cyan, 82.98% magenta, 0% yellow and 7.84% black. Its hue angle is 280.62°, with 82.98% saturation and 53.92% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. 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.93:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.47.

Description generated from the measured properties of this color.

Conversions of #ac28eb 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.1629

Readable text 4.93:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.26:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #8c5caf ≈ 0.001% of males
Protanopia #006bf0 ≈ 1.01% of males
Deuteranopia #0072e7 ≈ 1.27% of males
Tritanopia #a35d8e ≈ 0.0001% of males
Protanomaly #5f57ee ≈ 1.08% of males
Deuteranomaly #6d5de9 ≈ 4.63% of males
Tritanomaly #a74dba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ac28eb {
  color: #ac28eb;
}
Background
.bg-ac28eb {
  background-color: #ac28eb;
  color: #ffffff;
}
Border
.border-ac28eb {
  border: 2px solid #ac28eb;
}
CSS variables
:root {
  --color-primary: #ac28eb;
  --color-primary-rgb: 172 40 235;
  --color-primary-hsl: 281 83% 54%;
}
Gradient
.gradient-ac28eb {
  background: linear-gradient(135deg, #ac28eb, #eb28c8);
}
Colored shadow
.shadow-ac28eb {
  box-shadow: 0 8px 24px rgb(172 40 235 / 0.35);
}

Electric Purple
#ac28eb  rgb(172, 40, 235)  hsl(281, 83%, 54%)  Electric Purple
#67eb28  rgb(103, 235, 40)  hsl(101, 83%, 54%)  Lawn Green
#ebac28  rgb(235, 172, 40)  hsl(41, 83%, 54%)  Marigold
#28ebac  rgb(40, 235, 172)  hsl(161, 83%, 54%)  Medium Spring Green