#8A6DFC

#8a6dfc ≈ Medium Slate Blue

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

#8a6dfc is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 54.12% red, 42.75% green and 98.82% blue; printed in CMYK it uses 45.24% cyan, 56.75% magenta, 0% yellow and 1.18% black. Its hue angle is 252.17°, with 95.97% saturation and 70.78% 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. Black text on this color reaches a contrast ratio of 5.67:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 3.48.

Description generated from the measured properties of this color.

Conversions of #8a6dfc 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.2337

Readable text 3.7:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.67:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #858585 ≈ 0.003% of males
Achromatomaly #877cc0 ≈ 0.001% of males
Protanopia #0188ff ≈ 1.01% of males
Deuteranopia #0a81f9 ≈ 1.27% of males
Tritanopia #668daa ≈ 0.0001% of males
Protanomaly #5a7eff ≈ 1.08% of males
Deuteranomaly #5b7afa ≈ 4.63% of males
Tritanomaly #7681d0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a6dfc {
  color: #8a6dfc;
}
Background
.bg-8a6dfc {
  background-color: #8a6dfc;
  color: #000000;
}
Border
.border-8a6dfc {
  border: 2px solid #8a6dfc;
}
CSS variables
:root {
  --color-primary: #8a6dfc;
  --color-primary-rgb: 138 109 252;
  --color-primary-hsl: 252 96% 71%;
}
Gradient
.gradient-8a6dfc {
  background: linear-gradient(135deg, #8a6dfc, #d16dfc);
}
Colored shadow
.shadow-8a6dfc {
  box-shadow: 0 8px 24px rgb(138 109 252 / 0.35);
}

Medium Slate Blue
#8a6dfc  rgb(138, 109, 252)  hsl(252, 96%, 71%)  Medium Slate Blue
#dffc6d  rgb(223, 252, 109)  hsl(72, 96%, 71%)  Electric Lime
#fc8a6d  rgb(252, 138, 109)  hsl(12, 96%, 71%)  Salmon
#6dfc8a  rgb(109, 252, 138)  hsl(132, 96%, 71%)  Spring Green