#7940CC

#7940cc ≈ Blue Violet

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

#7940cc 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 80% blue; printed in CMYK it uses 40.69% cyan, 68.63% magenta, 0% yellow and 20% black. Its hue angle is 264.43°, with 57.85% saturation and 52.55% 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.14:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 4.31.

Description generated from the measured properties of this color.

Conversions of #7940cc 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.1209

Readable text 6.14:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.42:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #6c5698 ≈ 0.001% of males
Protanopia #0062d0 ≈ 1.01% of males
Deuteranopia #0060c9 ≈ 1.27% of males
Tritanopia #646281 ≈ 0.0001% of males
Protanomaly #4156cf ≈ 1.08% of males
Deuteranomaly #4755ca ≈ 4.63% of males
Tritanomaly #6d56a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue Violet
#7940cc  rgb(121, 64, 204)  hsl(264, 58%, 53%)  Blue Violet
#93cc40  rgb(147, 204, 64)  hsl(84, 58%, 53%)  Yellow Green
#cc7940  rgb(204, 121, 64)  hsl(24, 58%, 53%)  Bronze
#40cc79  rgb(64, 204, 121)  hsl(144, 58%, 53%)  Emerald