#7940FA

#7940fa ≈ Blue Violet

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

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

Description generated from the measured properties of this color.

Conversions of #7940fa 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.1463

Readable text 5.35:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.93:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #715db6 ≈ 0.001% of males
Protanopia #006eff ≈ 1.01% of males
Deuteranopia #0066f7 ≈ 1.27% of males
Tritanopia #48749b ≈ 0.0001% of males
Protanomaly #175ffd ≈ 1.08% of males
Deuteranomaly #2059f8 ≈ 4.63% of males
Tritanomaly #5f63c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue Violet
#7940fa  rgb(121, 64, 250)  hsl(258, 95%, 62%)  Blue Violet
#c1fa40  rgb(193, 250, 64)  hsl(78, 95%, 62%)  Green Yellow
#fa7940  rgb(250, 121, 64)  hsl(18, 95%, 62%)  Mango Tango
#40fa79  rgb(64, 250, 121)  hsl(138, 95%, 62%)  Spring Green