#AB2DFD

#ab2dfd ≈ Electric Purple

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

#ab2dfd 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 99.22% blue; printed in CMYK it uses 32.41% cyan, 82.21% magenta, 0% yellow and 0.78% black. Its hue angle is 276.35°, with 98.11% saturation and 58.43% 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.64:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.96.

Description generated from the measured properties of this color.

Conversions of #ab2dfd 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.1763

Readable text 4.64:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.53:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #8e60bb ≈ 0.001% of males
Protanopia #0071ff ≈ 1.01% of males
Deuteranopia #0075f9 ≈ 1.27% of males
Tritanopia #9c6899 ≈ 0.0001% of males
Protanomaly #575dff ≈ 1.08% of males
Deuteranomaly #6660fb ≈ 4.63% of males
Tritanomaly #a256c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#ab2dfd  rgb(171, 45, 253)  hsl(276, 98%, 58%)  Electric Purple
#7ffd2d  rgb(127, 253, 45)  hsl(96, 98%, 58%)  Lawn Green
#fdab2d  rgb(253, 171, 45)  hsl(36, 98%, 58%)  Yellow Orange
#2dfdab  rgb(45, 253, 171)  hsl(156, 98%, 58%)  Medium Spring Green