#7A40FA

#7a40fa ≈ Blue Violet

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#7a40fa is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 47.84% red, 25.1% green and 98.04% blue; printed in CMYK it uses 51.2% cyan, 74.4% magenta, 0% yellow and 1.96% black. Its hue angle is 258.71°, with 94.9% saturation and 61.57% 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.33:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 5.28.

Description generated from the measured properties of this color.

Conversions of #7a40fa 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.1471

Readable text 5.33:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.94:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #715db6 ≈ 0.001% of males
Protanopia #006fff ≈ 1.01% of males
Deuteranopia #0067f7 ≈ 1.27% of males
Tritanopia #4b749b ≈ 0.0001% of males
Protanomaly #1a5ffd ≈ 1.08% of males
Deuteranomaly #235af8 ≈ 4.63% of males
Tritanomaly #6163c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue Violet
#7a40fa  rgb(122, 64, 250)  hsl(259, 95%, 62%)  Blue Violet
#c0fa40  rgb(192, 250, 64)  hsl(79, 95%, 62%)  Green Yellow
#fa7a40  rgb(250, 122, 64)  hsl(19, 95%, 62%)  Mango Tango
#40fa7a  rgb(64, 250, 122)  hsl(139, 95%, 62%)  Spring Green