#8D56E2

#8d56e2 ≈ Medium Slate Blue

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

#8d56e2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 55.29% red, 33.73% green and 88.63% blue; printed in CMYK it uses 37.61% cyan, 61.95% magenta, 0% yellow and 11.37% black. Its hue angle is 263.57°, with 70.71% saturation and 61.18% 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. White text on this color reaches a contrast ratio of 4.6:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 6.34.

Description generated from the measured properties of this color.

Conversions of #8d56e2 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.1781

Readable text 4.6:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.56:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #7f6aac ≈ 0.001% of males
Protanopia #0075e6 ≈ 1.01% of males
Deuteranopia #0e74df ≈ 1.27% of males
Tritanopia #797594 ≈ 0.0001% of males
Protanomaly #576ae5 ≈ 1.08% of males
Deuteranomaly #5d69e0 ≈ 4.63% of males
Tritanomaly #816ab9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8d56e2 {
  color: #8d56e2;
}
Background
.bg-8d56e2 {
  background-color: #8d56e2;
  color: #ffffff;
}
Border
.border-8d56e2 {
  border: 2px solid #8d56e2;
}
CSS variables
:root {
  --color-primary: #8d56e2;
  --color-primary-rgb: 141 86 226;
  --color-primary-hsl: 264 71% 61%;
}
Gradient
.gradient-8d56e2 {
  background: linear-gradient(135deg, #8d56e2, #d356e2);
}
Colored shadow
.shadow-8d56e2 {
  box-shadow: 0 8px 24px rgb(141 86 226 / 0.35);
}

Medium Slate Blue
#8d56e2  rgb(141, 86, 226)  hsl(264, 71%, 61%)  Medium Slate Blue
#abe256  rgb(171, 226, 86)  hsl(84, 71%, 61%)  Inchworm
#e28d56  rgb(226, 141, 86)  hsl(24, 71%, 61%)  Raw Sienna
#56e28d  rgb(86, 226, 141)  hsl(144, 71%, 61%)  Pastel Green