#AB38EA

#ab38ea ≈ Electric Purple

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#ab38ea is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 67.06% red, 21.96% green and 91.76% blue; printed in CMYK it uses 26.92% cyan, 76.07% magenta, 0% yellow and 8.24% black. Its hue angle is 278.76°, with 80.91% saturation and 56.86% 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 3.72.

Description generated from the measured properties of this color.

Conversions of #ab38ea 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.1743

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 #8d61b0 ≈ 0.001% of males
Protanopia #006fef ≈ 1.01% of males
Deuteranopia #0076e6 ≈ 1.27% of males
Tritanopia #a26490 ≈ 0.0001% of males
Protanomaly #635eed ≈ 1.08% of males
Deuteranomaly #7063e8 ≈ 4.63% of males
Tritanomaly #a655bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ab38ea {
  color: #ab38ea;
}
Background
.bg-ab38ea {
  background-color: #ab38ea;
  color: #ffffff;
}
Border
.border-ab38ea {
  border: 2px solid #ab38ea;
}
CSS variables
:root {
  --color-primary: #ab38ea;
  --color-primary-rgb: 171 56 234;
  --color-primary-hsl: 279 81% 57%;
}
Gradient
.gradient-ab38ea {
  background: linear-gradient(135deg, #ab38ea, #ea38d0);
}
Colored shadow
.shadow-ab38ea {
  box-shadow: 0 8px 24px rgb(171 56 234 / 0.35);
}

Electric Purple
#ab38ea  rgb(171, 56, 234)  hsl(279, 81%, 57%)  Electric Purple
#77ea38  rgb(119, 234, 56)  hsl(99, 81%, 57%)  Lawn Green
#eaab38  rgb(234, 171, 56)  hsl(39, 81%, 57%)  Marigold
#38eaab  rgb(56, 234, 171)  hsl(159, 81%, 57%)  Medium Spring Green