#AB12EB

#ab12eb ≈ Vivid Violet

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Cool

#ab12eb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 67.06% red, 7.06% green and 92.16% blue; printed in CMYK it uses 27.23% cyan, 92.34% magenta, 0% yellow and 7.84% black. Its hue angle is 282.3°, with 85.77% saturation and 49.61% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. 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 5.23:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 3.21.

Description generated from the measured properties of this color.

Conversions of #ab12eb into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#9900ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1509

Readable text 5.23:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.02:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #8a56ae ≈ 0.001% of males
Protanopia #0066f0 ≈ 1.01% of males
Deuteranopia #006fe7 ≈ 1.27% of males
Tritanopia #a2578b ≈ 0.0001% of males
Protanomaly #5a51ee ≈ 1.08% of males
Deuteranomaly #6958e9 ≈ 4.63% of males
Tritanomaly #a645b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ab12eb {
  color: #ab12eb;
}
Background
.bg-ab12eb {
  background-color: #ab12eb;
  color: #ffffff;
}
Border
.border-ab12eb {
  border: 2px solid #ab12eb;
}
CSS variables
:root {
  --color-primary: #ab12eb;
  --color-primary-rgb: 171 18 235;
  --color-primary-hsl: 282 86% 50%;
}
Gradient
.gradient-ab12eb {
  background: linear-gradient(135deg, #ab12eb, #eb12bf);
}
Colored shadow
.shadow-ab12eb {
  box-shadow: 0 8px 24px rgb(171 18 235 / 0.35);
}

Vivid Violet
#ab12eb  rgb(171, 18, 235)  hsl(282, 86%, 50%)  Vivid Violet
#52eb12  rgb(82, 235, 18)  hsl(102, 86%, 50%)  Harlequin
#ebab12  rgb(235, 171, 18)  hsl(42, 86%, 50%)  Goldenrod
#12ebab  rgb(18, 235, 171)  hsl(162, 86%, 50%)  Medium Spring Green