#8A6CEF

#8a6cef ≈ Medium Slate Blue

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

#8a6cef 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.35% green and 93.73% blue; printed in CMYK it uses 42.26% cyan, 54.81% magenta, 0% yellow and 6.27% black. Its hue angle is 253.74°, with 80.37% saturation and 68.04% 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.47:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 2.88.

Description generated from the measured properties of this color.

Conversions of #8a6cef 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.2236

Readable text 3.84:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.47:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #857ab8 ≈ 0.001% of males
Protanopia #2685f3 ≈ 1.01% of males
Deuteranopia #2c7fec ≈ 1.27% of males
Tritanopia #6d88a3 ≈ 0.0001% of males
Protanomaly #5f7bf2 ≈ 1.08% of males
Deuteranomaly #6078ed ≈ 4.63% of males
Tritanomaly #7a7ec6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a6cef {
  color: #8a6cef;
}
Background
.bg-8a6cef {
  background-color: #8a6cef;
  color: #000000;
}
Border
.border-8a6cef {
  border: 2px solid #8a6cef;
}
CSS variables
:root {
  --color-primary: #8a6cef;
  --color-primary-rgb: 138 108 239;
  --color-primary-hsl: 254 80% 68%;
}
Gradient
.gradient-8a6cef {
  background: linear-gradient(135deg, #8a6cef, #cc6cef);
}
Colored shadow
.shadow-8a6cef {
  box-shadow: 0 8px 24px rgb(138 108 239 / 0.35);
}

Medium Slate Blue
#8a6cef  rgb(138, 108, 239)  hsl(254, 80%, 68%)  Medium Slate Blue
#d1ef6c  rgb(209, 239, 108)  hsl(74, 80%, 68%)  June Bud
#ef8a6c  rgb(239, 138, 108)  hsl(14, 80%, 68%)  Dark Salmon
#6cef8a  rgb(108, 239, 138)  hsl(134, 80%, 68%)  Light Green