#7C40FA

#7c40fa ≈ Blue Violet

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

#7c40fa 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 98.04% blue; printed in CMYK it uses 50.4% cyan, 74.4% magenta, 0% yellow and 1.96% black. Its hue angle is 259.35°, 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.29:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 5.21.

Description generated from the measured properties of this color.

Conversions of #7c40fa 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.1485

Readable text 5.29:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.97:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #725db7 ≈ 0.001% of males
Protanopia #006fff ≈ 1.01% of males
Deuteranopia #0067f7 ≈ 1.27% of males
Tritanopia #4f739b ≈ 0.0001% of males
Protanomaly #1f5ffd ≈ 1.08% of males
Deuteranomaly #285af8 ≈ 4.63% of males
Tritanomaly #6463c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue Violet
#7c40fa  rgb(124, 64, 250)  hsl(259, 95%, 62%)  Blue Violet
#befa40  rgb(190, 250, 64)  hsl(79, 95%, 62%)  Green Yellow
#fa7c40  rgb(250, 124, 64)  hsl(19, 95%, 62%)  Mango Tango
#40fa7c  rgb(64, 250, 124)  hsl(139, 95%, 62%)  Spring Green