#AB2EFF

#ab2eff ≈ Electric Purple

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

#ab2eff is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 67.06% red, 18.04% green and 100% blue; printed in CMYK it uses 32.94% cyan, 81.96% magenta, 0% yellow and 0% black. Its hue angle is 275.89°, with 100% saturation and 59.02% 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.6:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.02.

Description generated from the measured properties of this color.

Conversions of #ab2eff 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.1783

Readable text 4.6:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.57:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #8e60bd ≈ 0.001% of males
Protanopia #0072ff ≈ 1.01% of males
Deuteranopia #0076fb ≈ 1.27% of males
Tritanopia #9c699a ≈ 0.0001% of males
Protanomaly #575eff ≈ 1.08% of males
Deuteranomaly #6561fd ≈ 4.63% of males
Tritanomaly #a257cb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ab2eff {
  color: #ab2eff;
}
Background
.bg-ab2eff {
  background-color: #ab2eff;
  color: #ffffff;
}
Border
.border-ab2eff {
  border: 2px solid #ab2eff;
}
CSS variables
:root {
  --color-primary: #ab2eff;
  --color-primary-rgb: 171 46 255;
  --color-primary-hsl: 276 100% 59%;
}
Gradient
.gradient-ab2eff {
  background: linear-gradient(135deg, #ab2eff, #ff2eea);
}
Colored shadow
.shadow-ab2eff {
  box-shadow: 0 8px 24px rgb(171 46 255 / 0.35);
}

Electric Purple
#ab2eff  rgb(171, 46, 255)  hsl(276, 100%, 59%)  Electric Purple
#82ff2e  rgb(130, 255, 46)  hsl(96, 100%, 59%)  Chartreuse
#ffab2e  rgb(255, 171, 46)  hsl(36, 100%, 59%)  Yellow Orange
#2effab  rgb(46, 255, 171)  hsl(156, 100%, 59%)  Medium Spring Green