#7A2EFB

#7a2efb ≈ Electric Violet

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

#7a2efb is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 47.84% red, 18.04% green and 98.43% blue; printed in CMYK it uses 51.39% cyan, 81.67% magenta, 0% yellow and 1.57% black. Its hue angle is 262.24°, with 96.24% saturation and 58.24% 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.82:1 (WCAG AA). The closest named color is Electric Violet (#8f00ff), ΔE 3.36.

Description generated from the measured properties of this color.

Conversions of #7a2efb 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.1306

Readable text 5.82:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.61:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #656565 ≈ 0.003% of males
Achromatomaly #6e54b5 ≈ 0.001% of males
Protanopia #0068ff ≈ 1.01% of males
Deuteranopia #0061f7 ≈ 1.27% of males
Tritanopia #4b6d98 ≈ 0.0001% of males
Protanomaly #0057fe ≈ 1.08% of males
Deuteranomaly #0a51f9 ≈ 4.63% of males
Tritanomaly #615ac7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7a2efb {
  color: #7a2efb;
}
Background
.bg-7a2efb {
  background-color: #7a2efb;
  color: #ffffff;
}
Border
.border-7a2efb {
  border: 2px solid #7a2efb;
}
CSS variables
:root {
  --color-primary: #7a2efb;
  --color-primary-rgb: 122 46 251;
  --color-primary-hsl: 262 96% 58%;
}
Gradient
.gradient-7a2efb {
  background: linear-gradient(135deg, #7a2efb, #e02efb);
}
Colored shadow
.shadow-7a2efb {
  box-shadow: 0 8px 24px rgb(122 46 251 / 0.35);
}

Electric Violet
#7a2efb  rgb(122, 46, 251)  hsl(262, 96%, 58%)  Electric Violet
#affb2e  rgb(175, 251, 46)  hsl(82, 96%, 58%)  Green Yellow
#fb7a2e  rgb(251, 122, 46)  hsl(22, 96%, 58%)  Pumpkin
#2efb7a  rgb(46, 251, 122)  hsl(142, 96%, 58%)  Spring Green