#7E2AFA

#7e2afa ≈ Electric Violet

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

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

Description generated from the measured properties of this color.

Conversions of #7e2afa 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.1299

Readable text 5.84:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.6:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #656565 ≈ 0.003% of males
Achromatomaly #7053b5 ≈ 0.001% of males
Protanopia #0067ff ≈ 1.01% of males
Deuteranopia #0061f6 ≈ 1.27% of males
Tritanopia #546b97 ≈ 0.0001% of males
Protanomaly #0055fd ≈ 1.08% of males
Deuteranomaly #1a50f8 ≈ 4.63% of males
Tritanomaly #6758c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Violet
#7e2afa  rgb(126, 42, 250)  hsl(264, 95%, 57%)  Electric Violet
#a6fa2a  rgb(166, 250, 42)  hsl(84, 95%, 57%)  Green Yellow
#fa7e2a  rgb(250, 126, 42)  hsl(24, 95%, 57%)  Pumpkin
#2afa7e  rgb(42, 250, 126)  hsl(144, 95%, 57%)  Spring Green