#8A40F7

#8a40f7 ≈ Blue Violet

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

#8a40f7 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 54.12% red, 25.1% green and 96.86% blue; printed in CMYK it uses 44.13% cyan, 74.09% magenta, 0% yellow and 3.14% black. Its hue angle is 264.26°, with 91.96% saturation and 60.98% 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.05:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 4.91.

Description generated from the measured properties of this color.

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

Readable text 5.05:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.16:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #7b5fb6 ≈ 0.001% of males
Protanopia #0070fc ≈ 1.01% of males
Deuteranopia #006cf3 ≈ 1.27% of males
Tritanopia #6c7199 ≈ 0.0001% of males
Protanomaly #3a60fa ≈ 1.08% of males
Deuteranomaly #435df5 ≈ 4.63% of males
Tritanomaly #7961c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a40f7 {
  color: #8a40f7;
}
Background
.bg-8a40f7 {
  background-color: #8a40f7;
  color: #ffffff;
}
Border
.border-8a40f7 {
  border: 2px solid #8a40f7;
}
CSS variables
:root {
  --color-primary: #8a40f7;
  --color-primary-rgb: 138 64 247;
  --color-primary-hsl: 264 92% 61%;
}
Gradient
.gradient-8a40f7 {
  background: linear-gradient(135deg, #8a40f7, #e540f7);
}
Colored shadow
.shadow-8a40f7 {
  box-shadow: 0 8px 24px rgb(138 64 247 / 0.35);
}

Blue Violet
#8a40f7  rgb(138, 64, 247)  hsl(264, 92%, 61%)  Blue Violet
#adf740  rgb(173, 247, 64)  hsl(84, 92%, 61%)  Green Yellow
#f78a40  rgb(247, 138, 64)  hsl(24, 92%, 61%)  Cadmium Orange
#40f78a  rgb(64, 247, 138)  hsl(144, 92%, 61%)  Spring Green