#7940C0

#7940c0 ≈ Blue Violet

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

#7940c0 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 75.29% blue; printed in CMYK it uses 36.98% cyan, 66.67% magenta, 0% yellow and 24.71% black. Its hue angle is 266.72°, with 50.39% saturation and 50.2% 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 brand accents. White text on this color reaches a contrast ratio of 6.35:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 5.41.

Description generated from the measured properties of this color.

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

Readable text 6.35:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.31:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5f5f5f ≈ 0.003% of males
Achromatomaly #6b5490 ≈ 0.001% of males
Protanopia #005fc4 ≈ 1.01% of males
Deuteranopia #005ebd ≈ 1.27% of males
Tritanopia #695d7b ≈ 0.0001% of males
Protanomaly #4654c2 ≈ 1.08% of males
Deuteranomaly #4c54be ≈ 4.63% of males
Tritanomaly #70539b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue Violet
#7940c0  rgb(121, 64, 192)  hsl(267, 50%, 50%)  Blue Violet
#87c040  rgb(135, 192, 64)  hsl(87, 50%, 50%)  Yellow Green
#c07940  rgb(192, 121, 64)  hsl(27, 50%, 50%)  Copper
#40c079  rgb(64, 192, 121)  hsl(147, 50%, 50%)  Emerald