#8A4DFA

#8a4dfa ≈ Medium Slate Blue

  • violet
  • Lightness: high
  • Saturation: strong
  • Cool

#8a4dfa is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 54.12% red, 30.2% green and 98.04% blue; printed in CMYK it uses 44.8% cyan, 69.2% magenta, 0% yellow and 1.96% black. Its hue angle is 261.16°, with 94.54% saturation and 64.12% 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 4.64:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 6.99.

Description generated from the measured properties of this color.

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

Readable text 4.64:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.52:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #7e67b9 ≈ 0.001% of males
Protanopia #0076ff ≈ 1.01% of males
Deuteranopia #0071f7 ≈ 1.27% of males
Tritanopia #69799e ≈ 0.0001% of males
Protanomaly #4268fd ≈ 1.08% of males
Deuteranomaly #4865f8 ≈ 4.63% of males
Tritanomaly #786aca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Slate Blue
#8a4dfa  rgb(138, 77, 250)  hsl(261, 95%, 64%)  Medium Slate Blue
#bdfa4d  rgb(189, 250, 77)  hsl(81, 95%, 64%)  Green Yellow
#fa8a4d  rgb(250, 138, 77)  hsl(21, 95%, 64%)  Mango Tango
#4dfa8a  rgb(77, 250, 138)  hsl(141, 95%, 64%)  Spring Green