#8A2BF6

#8a2bf6 ≈ Electric Violet

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

#8a2bf6 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 54.12% red, 16.86% green and 96.47% blue; printed in CMYK it uses 43.9% cyan, 82.52% magenta, 0% yellow and 3.53% black. Its hue angle is 268.08°, with 91.86% saturation and 56.67% 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.59:1 (WCAG AA). The closest named color is Electric Violet (#8f00ff), ΔE 2.34.

Description generated from the measured properties of this color.

Conversions of #8a2bf6 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.1378

Readable text 5.59:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.76:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #686868 ≈ 0.003% of males
Achromatomaly #7756b3 ≈ 0.001% of males
Protanopia #0068fb ≈ 1.01% of males
Deuteranopia #0065f2 ≈ 1.27% of males
Tritanopia #6d6894 ≈ 0.0001% of males
Protanomaly #2e56f9 ≈ 1.08% of males
Deuteranomaly #3b54f4 ≈ 4.63% of males
Tritanomaly #7a56c3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a2bf6 {
  color: #8a2bf6;
}
Background
.bg-8a2bf6 {
  background-color: #8a2bf6;
  color: #ffffff;
}
Border
.border-8a2bf6 {
  border: 2px solid #8a2bf6;
}
CSS variables
:root {
  --color-primary: #8a2bf6;
  --color-primary-rgb: 138 43 246;
  --color-primary-hsl: 268 92% 57%;
}
Gradient
.gradient-8a2bf6 {
  background: linear-gradient(135deg, #8a2bf6, #f02bf6);
}
Colored shadow
.shadow-8a2bf6 {
  box-shadow: 0 8px 24px rgb(138 43 246 / 0.35);
}

Electric Violet
#8a2bf6  rgb(138, 43, 246)  hsl(268, 92%, 57%)  Electric Violet
#97f62b  rgb(151, 246, 43)  hsl(88, 92%, 57%)  Lawn Green
#f68a2b  rgb(246, 138, 43)  hsl(28, 92%, 57%)  Cadmium Orange
#2bf68a  rgb(43, 246, 138)  hsl(148, 92%, 57%)  Medium Spring Green