#8A0CFE

#8a0cfe ≈ Electric Violet

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

#8a0cfe is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 54.12% red, 4.71% green and 99.61% blue; printed in CMYK it uses 45.67% cyan, 95.28% magenta, 0% yellow and 0.39% black. Its hue angle is 271.24°, with 99.18% saturation and 52.16% 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.89:1 (WCAG AA). The closest named color is Electric Violet (#8f00ff), ΔE 0.67.

Description generated from the measured properties of this color.

Conversions of #8a0cfe 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.1282

Readable text 5.89:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.56:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #646464 ≈ 0.003% of males
Achromatomaly #754fb7 ≈ 0.001% of males
Protanopia #0065ff ≈ 1.01% of males
Deuteranopia #0061fa ≈ 1.27% of males
Tritanopia #696596 ≈ 0.0001% of males
Protanomaly #1050ff ≈ 1.08% of males
Deuteranomaly #2b4dfc ≈ 4.63% of males
Tritanomaly #7850c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a0cfe {
  color: #8a0cfe;
}
Background
.bg-8a0cfe {
  background-color: #8a0cfe;
  color: #ffffff;
}
Border
.border-8a0cfe {
  border: 2px solid #8a0cfe;
}
CSS variables
:root {
  --color-primary: #8a0cfe;
  --color-primary-rgb: 138 12 254;
  --color-primary-hsl: 271 99% 52%;
}
Gradient
.gradient-8a0cfe {
  background: linear-gradient(135deg, #8a0cfe, #fe0cf9);
}
Colored shadow
.shadow-8a0cfe {
  box-shadow: 0 8px 24px rgb(138 12 254 / 0.35);
}

Electric Violet
#8a0cfe  rgb(138, 12, 254)  hsl(271, 99%, 52%)  Electric Violet
#80fe0c  rgb(128, 254, 12)  hsl(91, 99%, 52%)  Chartreuse
#fe8a0c  rgb(254, 138, 12)  hsl(31, 99%, 52%)  Dark Orange
#0cfe8a  rgb(12, 254, 138)  hsl(151, 99%, 52%)  Spring Green