#8A12E8

#8a12e8 ≈ Blue Violet

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

#8a12e8 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 90.98% blue; printed in CMYK it uses 40.52% cyan, 92.24% magenta, 0% yellow and 9.02% black. Its hue angle is 273.64°, with 85.6% saturation and 49.02% 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 6.3:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 2.13.

Description generated from the measured properties of this color.

Conversions of #8a12e8 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.1166

Readable text 6.3:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.33:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #606060 ≈ 0.003% of males
Achromatomaly #734ca8 ≈ 0.001% of males
Protanopia #005fed ≈ 1.01% of males
Deuteranopia #005fe4 ≈ 1.27% of males
Tritanopia #745b89 ≈ 0.0001% of males
Protanomaly #304beb ≈ 1.08% of males
Deuteranomaly #3f4be6 ≈ 4.63% of males
Tritanomaly #7d48b7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a12e8 {
  color: #8a12e8;
}
Background
.bg-8a12e8 {
  background-color: #8a12e8;
  color: #ffffff;
}
Border
.border-8a12e8 {
  border: 2px solid #8a12e8;
}
CSS variables
:root {
  --color-primary: #8a12e8;
  --color-primary-rgb: 138 18 232;
  --color-primary-hsl: 274 86% 49%;
}
Gradient
.gradient-8a12e8 {
  background: linear-gradient(135deg, #8a12e8, #e812db);
}
Colored shadow
.shadow-8a12e8 {
  box-shadow: 0 8px 24px rgb(138 18 232 / 0.35);
}

Blue Violet
#8a12e8  rgb(138, 18, 232)  hsl(274, 86%, 49%)  Blue Violet
#70e812  rgb(112, 232, 18)  hsl(94, 86%, 49%)  Lawn Green
#e88a12  rgb(232, 138, 18)  hsl(34, 86%, 49%)  Fulvous
#12e88a  rgb(18, 232, 138)  hsl(154, 86%, 49%)  Medium Spring Green