#7840BF

#7840bf ≈ Blue Violet

  • violet
  • Lightness: medium
  • Saturation: moderate
  • Cool

#7840bf is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 47.06% red, 25.1% green and 74.9% blue; printed in CMYK it uses 37.17% cyan, 66.49% magenta, 0% yellow and 25.1% black. Its hue angle is 266.46°, with 49.8% saturation and 50% 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.39:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 5.58.

Description generated from the measured properties of this color.

Conversions of #7840bf 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.1142

Readable text 6.39:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.28:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5f5f5f ≈ 0.003% of males
Achromatomaly #6a5490 ≈ 0.001% of males
Protanopia #005fc3 ≈ 1.01% of males
Deuteranopia #005ebc ≈ 1.27% of males
Tritanopia #685d7a ≈ 0.0001% of males
Protanomaly #4654c1 ≈ 1.08% of males
Deuteranomaly #4c54bd ≈ 4.63% of males
Tritanomaly #6f539a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7840bf {
  color: #7840bf;
}
Background
.bg-7840bf {
  background-color: #7840bf;
  color: #ffffff;
}
Border
.border-7840bf {
  border: 2px solid #7840bf;
}
CSS variables
:root {
  --color-primary: #7840bf;
  --color-primary-rgb: 120 64 191;
  --color-primary-hsl: 266 50% 50%;
}
Gradient
.gradient-7840bf {
  background: linear-gradient(135deg, #7840bf, #b840bf);
}
Colored shadow
.shadow-7840bf {
  box-shadow: 0 8px 24px rgb(120 64 191 / 0.35);
}

Blue Violet
#7840bf  rgb(120, 64, 191)  hsl(266, 50%, 50%)  Blue Violet
#87bf40  rgb(135, 191, 64)  hsl(86, 50%, 50%)  Yellow Green
#bf7840  rgb(191, 120, 64)  hsl(26, 50%, 50%)  Copper
#40bf78  rgb(64, 191, 120)  hsl(146, 50%, 50%)  Emerald