#8A40ED

#8a40ed ≈ Blue Violet

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

#8a40ed 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 92.94% blue; printed in CMYK it uses 41.77% cyan, 73% magenta, 0% yellow and 7.06% black. Its hue angle is 265.66°, with 82.78% saturation and 59.02% 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.2:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 3.99.

Description generated from the measured properties of this color.

Conversions of #8a40ed 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.1518

Readable text 5.2:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.04:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6d6d6d ≈ 0.003% of males
Achromatomaly #795eaf ≈ 0.001% of males
Protanopia #006df2 ≈ 1.01% of males
Deuteranopia #006bea ≈ 1.27% of males
Tritanopia #716d94 ≈ 0.0001% of males
Protanomaly #415ef0 ≈ 1.08% of males
Deuteranomaly #4a5ceb ≈ 4.63% of males
Tritanomaly #7c5ebe ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a40ed {
  color: #8a40ed;
}
Background
.bg-8a40ed {
  background-color: #8a40ed;
  color: #ffffff;
}
Border
.border-8a40ed {
  border: 2px solid #8a40ed;
}
CSS variables
:root {
  --color-primary: #8a40ed;
  --color-primary-rgb: 138 64 237;
  --color-primary-hsl: 266 83% 59%;
}
Gradient
.gradient-8a40ed {
  background: linear-gradient(135deg, #8a40ed, #e040ed);
}
Colored shadow
.shadow-8a40ed {
  box-shadow: 0 8px 24px rgb(138 64 237 / 0.35);
}

Blue Violet
#8a40ed  rgb(138, 64, 237)  hsl(266, 83%, 59%)  Blue Violet
#a3ed40  rgb(163, 237, 64)  hsl(86, 83%, 59%)  Inchworm
#ed8a40  rgb(237, 138, 64)  hsl(26, 83%, 59%)  Cadmium Orange
#40ed8a  rgb(64, 237, 138)  hsl(146, 83%, 59%)  Medium Spring Green