#7940DD

#7940dd ≈ Blue Violet

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

#7940dd 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 86.67% blue; printed in CMYK it uses 45.25% cyan, 71.04% magenta, 0% yellow and 13.33% black. Its hue angle is 261.78°, with 69.78% saturation and 55.88% 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 5.85:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 3.72.

Description generated from the measured properties of this color.

Conversions of #7940dd 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.1295

Readable text 5.85:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.59:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #656565 ≈ 0.003% of males
Achromatomaly #6d58a3 ≈ 0.001% of males
Protanopia #0066e2 ≈ 1.01% of males
Deuteranopia #0062da ≈ 1.27% of males
Tritanopia #5c688a ≈ 0.0001% of males
Protanomaly #3659e0 ≈ 1.08% of males
Deuteranomaly #3d56db ≈ 4.63% of males
Tritanomaly #695bb2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue Violet
#7940dd  rgb(121, 64, 221)  hsl(262, 70%, 56%)  Blue Violet
#a4dd40  rgb(164, 221, 64)  hsl(82, 70%, 56%)  Yellow Green
#dd7940  rgb(221, 121, 64)  hsl(22, 70%, 56%)  Raw Sienna
#40dd79  rgb(64, 221, 121)  hsl(142, 70%, 56%)  Pastel Green