#AB2FEA

#ab2fea ≈ Electric Purple

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

#ab2fea is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 67.06% red, 18.43% green and 91.76% blue; printed in CMYK it uses 26.92% cyan, 79.91% magenta, 0% yellow and 8.24% black. Its hue angle is 279.79°, with 81.66% saturation and 55.1% 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.85:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.56.

Description generated from the measured properties of this color.

Conversions of #ab2fea 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.1663

Readable text 4.85:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.33:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #8c5eaf ≈ 0.001% of males
Protanopia #006cef ≈ 1.01% of males
Deuteranopia #0073e6 ≈ 1.27% of males
Tritanopia #a2608e ≈ 0.0001% of males
Protanomaly #605aed ≈ 1.08% of males
Deuteranomaly #6e5fe8 ≈ 4.63% of males
Tritanomaly #a650ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ab2fea {
  color: #ab2fea;
}
Background
.bg-ab2fea {
  background-color: #ab2fea;
  color: #ffffff;
}
Border
.border-ab2fea {
  border: 2px solid #ab2fea;
}
CSS variables
:root {
  --color-primary: #ab2fea;
  --color-primary-rgb: 171 47 234;
  --color-primary-hsl: 280 82% 55%;
}
Gradient
.gradient-ab2fea {
  background: linear-gradient(135deg, #ab2fea, #ea2fcb);
}
Colored shadow
.shadow-ab2fea {
  box-shadow: 0 8px 24px rgb(171 47 234 / 0.35);
}

Electric Purple
#ab2fea  rgb(171, 47, 234)  hsl(280, 82%, 55%)  Electric Purple
#6eea2f  rgb(110, 234, 47)  hsl(100, 82%, 55%)  Lawn Green
#eaab2f  rgb(234, 171, 47)  hsl(40, 82%, 55%)  Marigold
#2feaab  rgb(47, 234, 171)  hsl(160, 82%, 55%)  Medium Spring Green