#8A2AF7

#8a2af7 ≈ Electric Violet

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

#8a2af7 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.47% green and 96.86% blue; printed in CMYK it uses 44.13% cyan, 83% magenta, 0% yellow and 3.14% black. Its hue angle is 268.1°, with 92.76% 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.23.

Description generated from the measured properties of this color.

Conversions of #8a2af7 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.1377

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

Achromatopsia #686868 ≈ 0.003% of males
Achromatomaly #7755b4 ≈ 0.001% of males
Protanopia #0068fc ≈ 1.01% of males
Deuteranopia #0065f3 ≈ 1.27% of males
Tritanopia #6c6895 ≈ 0.0001% of males
Protanomaly #2c56fa ≈ 1.08% of males
Deuteranomaly #3a54f5 ≈ 4.63% of males
Tritanomaly #7956c4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Violet
#8a2af7  rgb(138, 42, 247)  hsl(268, 93%, 57%)  Electric Violet
#97f72a  rgb(151, 247, 42)  hsl(88, 93%, 57%)  Lawn Green
#f78a2a  rgb(247, 138, 42)  hsl(28, 93%, 57%)  Cadmium Orange
#2af78a  rgb(42, 247, 138)  hsl(148, 93%, 57%)  Medium Spring Green