#7C40CA

#7c40ca ≈ Blue Violet

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

#7c40ca is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 48.63% red, 25.1% green and 79.22% blue; printed in CMYK it uses 38.61% cyan, 68.32% magenta, 0% yellow and 20.78% black. Its hue angle is 266.09°, with 56.56% saturation and 52.16% 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.1:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 4.26.

Description generated from the measured properties of this color.

Conversions of #7c40ca 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.1222

Readable text 6.1:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.44:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #6d5697 ≈ 0.001% of males
Protanopia #0062ce ≈ 1.01% of males
Deuteranopia #0061c7 ≈ 1.27% of males
Tritanopia #6a6180 ≈ 0.0001% of males
Protanomaly #4556cc ≈ 1.08% of males
Deuteranomaly #4b55c8 ≈ 4.63% of males
Tritanomaly #7256a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7c40ca {
  color: #7c40ca;
}
Background
.bg-7c40ca {
  background-color: #7c40ca;
  color: #ffffff;
}
Border
.border-7c40ca {
  border: 2px solid #7c40ca;
}
CSS variables
:root {
  --color-primary: #7c40ca;
  --color-primary-rgb: 124 64 202;
  --color-primary-hsl: 266 57% 52%;
}
Gradient
.gradient-7c40ca {
  background: linear-gradient(135deg, #7c40ca, #c140ca);
}
Colored shadow
.shadow-7c40ca {
  box-shadow: 0 8px 24px rgb(124 64 202 / 0.35);
}

Blue Violet
#7c40ca  rgb(124, 64, 202)  hsl(266, 57%, 52%)  Blue Violet
#8eca40  rgb(142, 202, 64)  hsl(86, 57%, 52%)  Yellow Green
#ca7c40  rgb(202, 124, 64)  hsl(26, 57%, 52%)  Bronze
#40ca7c  rgb(64, 202, 124)  hsl(146, 57%, 52%)  Emerald