#8A12FF

#8a12ff ≈ Electric Violet

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

#8a12ff is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 54.12% red, 7.06% green and 100% blue; printed in CMYK it uses 45.88% cyan, 92.94% magenta, 0% yellow and 0% black. Its hue angle is 270.38°, with 100% saturation and 53.53% 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 5.82:1 (WCAG AA). The closest named color is Electric Violet (#8f00ff), ΔE 0.75.

Description generated from the measured properties of this color.

Conversions of #8a12ff 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.1306

Readable text 5.82:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.61:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #656565 ≈ 0.003% of males
Achromatomaly #7650b8 ≈ 0.001% of males
Protanopia #0066ff ≈ 1.01% of males
Deuteranopia #0062fb ≈ 1.27% of males
Tritanopia #696697 ≈ 0.0001% of males
Protanomaly #1151ff ≈ 1.08% of males
Deuteranomaly #2b4efd ≈ 4.63% of males
Tritanomaly #7751c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a12ff {
  color: #8a12ff;
}
Background
.bg-8a12ff {
  background-color: #8a12ff;
  color: #ffffff;
}
Border
.border-8a12ff {
  border: 2px solid #8a12ff;
}
CSS variables
:root {
  --color-primary: #8a12ff;
  --color-primary-rgb: 138 18 255;
  --color-primary-hsl: 270 100% 54%;
}
Gradient
.gradient-8a12ff {
  background: linear-gradient(135deg, #8a12ff, #ff12fd);
}
Colored shadow
.shadow-8a12ff {
  box-shadow: 0 8px 24px rgb(138 18 255 / 0.35);
}

Electric Violet
#8a12ff  rgb(138, 18, 255)  hsl(270, 100%, 54%)  Electric Violet
#87ff12  rgb(135, 255, 18)  hsl(90, 100%, 54%)  Chartreuse
#ff8a12  rgb(255, 138, 18)  hsl(30, 100%, 54%)  Dark Orange
#12ff8a  rgb(18, 255, 138)  hsl(150, 100%, 54%)  Spring Green