#8A31FC

#8a31fc ≈ Electric Violet

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

#8a31fc 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 98.82% blue; printed in CMYK it uses 45.24% cyan, 80.56% magenta, 0% yellow and 1.18% black. Its hue angle is 266.31°, with 97.13% saturation and 59.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 5.35:1 (WCAG AA). The closest named color is Electric Violet (#8f00ff), ΔE 3.19.

Description generated from the measured properties of this color.

Conversions of #8a31fc 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.1463

Readable text 5.35:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.93:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #7859b8 ≈ 0.001% of males
Protanopia #006cff ≈ 1.01% of males
Deuteranopia #0068f8 ≈ 1.27% of males
Tritanopia #6a6d99 ≈ 0.0001% of males
Protanomaly #2b5aff ≈ 1.08% of males
Deuteranomaly #3957fa ≈ 4.63% of males
Tritanomaly #785bc8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Violet
#8a31fc  rgb(138, 49, 252)  hsl(266, 97%, 59%)  Electric Violet
#a3fc31  rgb(163, 252, 49)  hsl(86, 97%, 59%)  Green Yellow
#fc8a31  rgb(252, 138, 49)  hsl(26, 97%, 59%)  Cadmium Orange
#31fc8a  rgb(49, 252, 138)  hsl(146, 97%, 59%)  Spring Green