#7A2AFA

#7a2afa ≈ Electric Violet

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

#7a2afa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 47.84% red, 16.47% green and 98.04% blue; printed in CMYK it uses 51.2% cyan, 83.2% magenta, 0% yellow and 1.96% black. Its hue angle is 263.08°, with 95.41% saturation and 57.25% 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.93:1 (WCAG AA). The closest named color is Electric Violet (#8f00ff), ΔE 3.09.

Description generated from the measured properties of this color.

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

Readable text 5.93:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.54:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #646464 ≈ 0.003% of males
Achromatomaly #6d53b4 ≈ 0.001% of males
Protanopia #0067ff ≈ 1.01% of males
Deuteranopia #005ff6 ≈ 1.27% of males
Tritanopia #4c6b97 ≈ 0.0001% of males
Protanomaly #0055fd ≈ 1.08% of males
Deuteranomaly #064ff8 ≈ 4.63% of males
Tritanomaly #6258c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7a2afa {
  color: #7a2afa;
}
Background
.bg-7a2afa {
  background-color: #7a2afa;
  color: #ffffff;
}
Border
.border-7a2afa {
  border: 2px solid #7a2afa;
}
CSS variables
:root {
  --color-primary: #7a2afa;
  --color-primary-rgb: 122 42 250;
  --color-primary-hsl: 263 95% 57%;
}
Gradient
.gradient-7a2afa {
  background: linear-gradient(135deg, #7a2afa, #e22afa);
}
Colored shadow
.shadow-7a2afa {
  box-shadow: 0 8px 24px rgb(122 42 250 / 0.35);
}

Electric Violet
#7a2afa  rgb(122, 42, 250)  hsl(263, 95%, 57%)  Electric Violet
#aafa2a  rgb(170, 250, 42)  hsl(83, 95%, 57%)  Green Yellow
#fa7a2a  rgb(250, 122, 42)  hsl(23, 95%, 57%)  Pumpkin
#2afa7a  rgb(42, 250, 122)  hsl(143, 95%, 57%)  Spring Green