#AB2DFA

#ab2dfa ≈ Electric Purple

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

#ab2dfa 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.65% green and 98.04% blue; printed in CMYK it uses 31.6% cyan, 82% magenta, 0% yellow and 1.96% black. Its hue angle is 276.88°, with 95.35% saturation and 57.84% 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.68:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.93.

Description generated from the measured properties of this color.

Conversions of #ab2dfa 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.1744

Readable text 4.68:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.49:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #8d5fb9 ≈ 0.001% of males
Protanopia #0070ff ≈ 1.01% of males
Deuteranopia #0075f6 ≈ 1.27% of males
Tritanopia #9d6697 ≈ 0.0001% of males
Protanomaly #595cfd ≈ 1.08% of males
Deuteranomaly #6760f8 ≈ 4.63% of males
Tritanomaly #a355c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ab2dfa {
  color: #ab2dfa;
}
Background
.bg-ab2dfa {
  background-color: #ab2dfa;
  color: #ffffff;
}
Border
.border-ab2dfa {
  border: 2px solid #ab2dfa;
}
CSS variables
:root {
  --color-primary: #ab2dfa;
  --color-primary-rgb: 171 45 250;
  --color-primary-hsl: 277 95% 58%;
}
Gradient
.gradient-ab2dfa {
  background: linear-gradient(135deg, #ab2dfa, #fa2de2);
}
Colored shadow
.shadow-ab2dfa {
  box-shadow: 0 8px 24px rgb(171 45 250 / 0.35);
}

Electric Purple
#ab2dfa  rgb(171, 45, 250)  hsl(277, 95%, 58%)  Electric Purple
#7cfa2d  rgb(124, 250, 45)  hsl(97, 95%, 58%)  Lawn Green
#faab2d  rgb(250, 171, 45)  hsl(37, 95%, 58%)  Yellow Orange
#2dfaab  rgb(45, 250, 171)  hsl(157, 95%, 58%)  Medium Spring Green