#AB2CEF

#ab2cef ≈ Electric Purple

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

#ab2cef is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 67.06% red, 17.25% green and 93.73% blue; printed in CMYK it uses 28.45% cyan, 81.59% magenta, 0% yellow and 6.27% black. Its hue angle is 279.08°, with 85.9% saturation and 55.49% 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.84:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.26.

Description generated from the measured properties of this color.

Conversions of #ab2cef 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.1669

Readable text 4.84:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.34:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #8c5db2 ≈ 0.001% of males
Protanopia #006df4 ≈ 1.01% of males
Deuteranopia #0073eb ≈ 1.27% of males
Tritanopia #a16191 ≈ 0.0001% of males
Protanomaly #5d5af2 ≈ 1.08% of males
Deuteranomaly #6b5fed ≈ 4.63% of males
Tritanomaly #a551be ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ab2cef {
  color: #ab2cef;
}
Background
.bg-ab2cef {
  background-color: #ab2cef;
  color: #ffffff;
}
Border
.border-ab2cef {
  border: 2px solid #ab2cef;
}
CSS variables
:root {
  --color-primary: #ab2cef;
  --color-primary-rgb: 171 44 239;
  --color-primary-hsl: 279 86% 55%;
}
Gradient
.gradient-ab2cef {
  background: linear-gradient(135deg, #ab2cef, #ef2cd1);
}
Colored shadow
.shadow-ab2cef {
  box-shadow: 0 8px 24px rgb(171 44 239 / 0.35);
}

Electric Purple
#ab2cef  rgb(171, 44, 239)  hsl(279, 86%, 55%)  Electric Purple
#70ef2c  rgb(112, 239, 44)  hsl(99, 86%, 55%)  Lawn Green
#efab2c  rgb(239, 171, 44)  hsl(39, 86%, 55%)  Marigold
#2cefab  rgb(44, 239, 171)  hsl(159, 86%, 55%)  Medium Spring Green