#AB4BFB

#ab4bfb ≈ Electric Purple

  • violet
  • Lightness: high
  • Saturation: strong
  • Cool

#ab4bfb is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 67.06% red, 29.41% green and 98.43% blue; printed in CMYK it uses 31.87% cyan, 70.12% magenta, 0% yellow and 1.57% black. Its hue angle is 272.73°, with 95.65% saturation and 63.92% 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. Black text on this color reaches a contrast ratio of 5.13:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.65.

Description generated from the measured properties of this color.

Conversions of #ab4bfb 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.2066

Readable text 4.09:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.13:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #926dbd ≈ 0.001% of males
Protanopia #007bff ≈ 1.01% of males
Deuteranopia #007ef7 ≈ 1.27% of males
Tritanopia #9c749e ≈ 0.0001% of males
Protanomaly #636bfe ≈ 1.08% of males
Deuteranomaly #6e6df9 ≈ 4.63% of males
Tritanomaly #a266ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ab4bfb {
  color: #ab4bfb;
}
Background
.bg-ab4bfb {
  background-color: #ab4bfb;
  color: #000000;
}
Border
.border-ab4bfb {
  border: 2px solid #ab4bfb;
}
CSS variables
:root {
  --color-primary: #ab4bfb;
  --color-primary-rgb: 171 75 251;
  --color-primary-hsl: 273 96% 64%;
}
Gradient
.gradient-ab4bfb {
  background: linear-gradient(135deg, #ab4bfb, #fb4bf3);
}
Colored shadow
.shadow-ab4bfb {
  box-shadow: 0 8px 24px rgb(171 75 251 / 0.35);
}

Electric Purple
#ab4bfb  rgb(171, 75, 251)  hsl(273, 96%, 64%)  Electric Purple
#9bfb4b  rgb(155, 251, 75)  hsl(93, 96%, 64%)  Lawn Green
#fbab4b  rgb(251, 171, 75)  hsl(33, 96%, 64%)  Yellow Orange
#4bfbab  rgb(75, 251, 171)  hsl(153, 96%, 64%)  Medium Spring Green