#7540FA

#7540fa ≈ Blue Violet

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

#7540fa 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 98.04% blue; printed in CMYK it uses 53.2% cyan, 74.4% magenta, 0% yellow and 1.96% black. Its hue angle is 257.1°, with 94.9% saturation and 61.57% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 5.43:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 5.51.

Description generated from the measured properties of this color.

Conversions of #7540fa into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6633ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1435

Readable text 5.43:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.87:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6a6a6a ≈ 0.003% of males
Achromatomaly #6e5cb6 ≈ 0.001% of males
Protanopia #006eff ≈ 1.01% of males
Deuteranopia #0065f7 ≈ 1.27% of males
Tritanopia #3e749b ≈ 0.0001% of males
Protanomaly #085ffd ≈ 1.08% of males
Deuteranomaly #1258f8 ≈ 4.63% of males
Tritanomaly #5963c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7540fa {
  color: #7540fa;
}
Background
.bg-7540fa {
  background-color: #7540fa;
  color: #ffffff;
}
Border
.border-7540fa {
  border: 2px solid #7540fa;
}
CSS variables
:root {
  --color-primary: #7540fa;
  --color-primary-rgb: 117 64 250;
  --color-primary-hsl: 257 95% 62%;
}
Gradient
.gradient-7540fa {
  background: linear-gradient(135deg, #7540fa, #d240fa);
}
Colored shadow
.shadow-7540fa {
  box-shadow: 0 8px 24px rgb(117 64 250 / 0.35);
}

Blue Violet
#7540fa  rgb(117, 64, 250)  hsl(257, 95%, 62%)  Blue Violet
#c5fa40  rgb(197, 250, 64)  hsl(77, 95%, 62%)  Electric Lime
#fa7540  rgb(250, 117, 64)  hsl(17, 95%, 62%)  Coral
#40fa75  rgb(64, 250, 117)  hsl(137, 95%, 62%)  Spring Green