#AB0AFA

#ab0afa ≈ Vivid Violet

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

#ab0afa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 67.06% red, 3.92% green and 98.04% blue; printed in CMYK it uses 31.6% cyan, 96% magenta, 0% yellow and 1.96% black. Its hue angle is 280.25°, with 96% saturation and 50.98% 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.05:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 2.22.

Description generated from the measured properties of this color.

Conversions of #ab0afa 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.1578

Readable text 5.05:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.16:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #8b57b8 ≈ 0.001% of males
Protanopia #006aff ≈ 1.01% of males
Deuteranopia #0070f6 ≈ 1.27% of males
Tritanopia #9e5e94 ≈ 0.0001% of males
Protanomaly #5253fd ≈ 1.08% of males
Deuteranomaly #6358f8 ≈ 4.63% of males
Tritanomaly #a34ac5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ab0afa {
  color: #ab0afa;
}
Background
.bg-ab0afa {
  background-color: #ab0afa;
  color: #ffffff;
}
Border
.border-ab0afa {
  border: 2px solid #ab0afa;
}
CSS variables
:root {
  --color-primary: #ab0afa;
  --color-primary-rgb: 171 10 250;
  --color-primary-hsl: 280 96% 51%;
}
Gradient
.gradient-ab0afa {
  background: linear-gradient(135deg, #ab0afa, #fa0ad1);
}
Colored shadow
.shadow-ab0afa {
  box-shadow: 0 8px 24px rgb(171 10 250 / 0.35);
}

Vivid Violet
#ab0afa  rgb(171, 10, 250)  hsl(280, 96%, 51%)  Vivid Violet
#59fa0a  rgb(89, 250, 10)  hsl(100, 96%, 51%)  Harlequin
#faab0a  rgb(250, 171, 10)  hsl(40, 96%, 51%)  Orange
#0afaab  rgb(10, 250, 171)  hsl(160, 96%, 51%)  Medium Spring Green