#8A31FE

#8a31fe ≈ Electric Violet

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

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

Description generated from the measured properties of this color.

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

Readable text 5.31:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.95:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #7959b9 ≈ 0.001% of males
Protanopia #006dff ≈ 1.01% of males
Deuteranopia #0068fa ≈ 1.27% of males
Tritanopia #686e9a ≈ 0.0001% of males
Protanomaly #295aff ≈ 1.08% of males
Deuteranomaly #3757fc ≈ 4.63% of males
Tritanomaly #775bca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Violet
#8a31fe  rgb(138, 49, 254)  hsl(266, 99%, 59%)  Electric Violet
#a5fe31  rgb(165, 254, 49)  hsl(86, 99%, 59%)  Green Yellow
#fe8a31  rgb(254, 138, 49)  hsl(26, 99%, 59%)  Cadmium Orange
#31fe8a  rgb(49, 254, 138)  hsl(146, 99%, 59%)  Spring Green