#7540CF

#7540cf ≈ Blue Violet

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

#7540cf is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 45.88% red, 25.1% green and 81.18% blue; printed in CMYK it uses 43.48% cyan, 69.08% magenta, 0% yellow and 18.82% black. Its hue angle is 262.24°, with 59.83% saturation and 53.14% 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.19:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 4.5.

Description generated from the measured properties of this color.

Conversions of #7540cf 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.1195

Readable text 6.19:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.39:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #616161 ≈ 0.003% of males
Achromatomaly #6a569a ≈ 0.001% of males
Protanopia #0062d3 ≈ 1.01% of males
Deuteranopia #005fcc ≈ 1.27% of males
Tritanopia #5c6383 ≈ 0.0001% of males
Protanomaly #3b56d2 ≈ 1.08% of males
Deuteranomaly #4054cd ≈ 4.63% of males
Tritanomaly #6757a7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7540cf {
  color: #7540cf;
}
Background
.bg-7540cf {
  background-color: #7540cf;
  color: #ffffff;
}
Border
.border-7540cf {
  border: 2px solid #7540cf;
}
CSS variables
:root {
  --color-primary: #7540cf;
  --color-primary-rgb: 117 64 207;
  --color-primary-hsl: 262 60% 53%;
}
Gradient
.gradient-7540cf {
  background: linear-gradient(135deg, #7540cf, #bd40cf);
}
Colored shadow
.shadow-7540cf {
  box-shadow: 0 8px 24px rgb(117 64 207 / 0.35);
}

Blue Violet
#7540cf  rgb(117, 64, 207)  hsl(262, 60%, 53%)  Blue Violet
#9acf40  rgb(154, 207, 64)  hsl(82, 60%, 53%)  Yellow Green
#cf7540  rgb(207, 117, 64)  hsl(22, 60%, 53%)  Chocolate
#40cf75  rgb(64, 207, 117)  hsl(142, 60%, 53%)  Emerald