#8A66E2

#8a66e2 ≈ Medium Slate Blue

  • violet
  • Lightness: high
  • Saturation: moderate
  • Cool

#8a66e2 is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 54.12% red, 40% green and 88.63% blue; printed in CMYK it uses 38.94% cyan, 54.87% magenta, 0% yellow and 11.37% black. Its hue angle is 257.42°, with 68.13% saturation and 64.31% 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 brand accents. Black text on this color reaches a contrast ratio of 5.08:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 3.51.

Description generated from the measured properties of this color.

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

Readable text 4.13:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.08:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #8274af ≈ 0.001% of males
Protanopia #2a7ee6 ≈ 1.01% of males
Deuteranopia #347bdf ≈ 1.27% of males
Tritanopia #73809a ≈ 0.0001% of males
Protanomaly #5f75e5 ≈ 1.08% of males
Deuteranomaly #6273e0 ≈ 4.63% of males
Tritanomaly #7d76bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a66e2 {
  color: #8a66e2;
}
Background
.bg-8a66e2 {
  background-color: #8a66e2;
  color: #000000;
}
Border
.border-8a66e2 {
  border: 2px solid #8a66e2;
}
CSS variables
:root {
  --color-primary: #8a66e2;
  --color-primary-rgb: 138 102 226;
  --color-primary-hsl: 257 68% 64%;
}
Gradient
.gradient-8a66e2 {
  background: linear-gradient(135deg, #8a66e2, #c866e2);
}
Colored shadow
.shadow-8a66e2 {
  box-shadow: 0 8px 24px rgb(138 102 226 / 0.35);
}

Medium Slate Blue
#8a66e2  rgb(138, 102, 226)  hsl(257, 68%, 64%)  Medium Slate Blue
#bee266  rgb(190, 226, 102)  hsl(77, 68%, 64%)  June Bud
#e28a66  rgb(226, 138, 102)  hsl(17, 68%, 64%)  Dark Salmon
#66e28a  rgb(102, 226, 138)  hsl(137, 68%, 64%)  Pastel Green