#8A31EB

#8a31eb ≈ Blue Violet

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#8a31eb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 54.12% red, 19.22% green and 92.16% blue; printed in CMYK it uses 41.28% cyan, 79.15% magenta, 0% yellow and 7.84% black. Its hue angle is 268.71°, with 82.3% saturation and 55.69% 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.65:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 1.64.

Description generated from the measured properties of this color.

Conversions of #8a31eb 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.136

Readable text 5.65:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.72:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #676767 ≈ 0.003% of males
Achromatomaly #7756ac ≈ 0.001% of males
Protanopia #0067f0 ≈ 1.01% of males
Deuteranopia #0065e8 ≈ 1.27% of males
Tritanopia #72658f ≈ 0.0001% of males
Protanomaly #3a56ee ≈ 1.08% of males
Deuteranomaly #4555e9 ≈ 4.63% of males
Tritanomaly #7c55bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a31eb {
  color: #8a31eb;
}
Background
.bg-8a31eb {
  background-color: #8a31eb;
  color: #ffffff;
}
Border
.border-8a31eb {
  border: 2px solid #8a31eb;
}
CSS variables
:root {
  --color-primary: #8a31eb;
  --color-primary-rgb: 138 49 235;
  --color-primary-hsl: 269 82% 56%;
}
Gradient
.gradient-8a31eb {
  background: linear-gradient(135deg, #8a31eb, #e731eb);
}
Colored shadow
.shadow-8a31eb {
  box-shadow: 0 8px 24px rgb(138 49 235 / 0.35);
}

Blue Violet
#8a31eb  rgb(138, 49, 235)  hsl(269, 82%, 56%)  Blue Violet
#92eb31  rgb(146, 235, 49)  hsl(89, 82%, 56%)  Lawn Green
#eb8a31  rgb(235, 138, 49)  hsl(29, 82%, 56%)  Cadmium Orange
#31eb8a  rgb(49, 235, 138)  hsl(149, 82%, 56%)  Medium Spring Green