#8D5EF2

#8d5ef2 ≈ Medium Slate Blue

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

#8d5ef2 is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 55.29% red, 36.86% green and 94.9% blue; printed in CMYK it uses 41.74% cyan, 61.16% magenta, 0% yellow and 5.1% black. Its hue angle is 259.05°, with 85.06% saturation and 65.88% 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.02:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 4.15.

Description generated from the measured properties of this color.

Conversions of #8d5ef2 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.2008

Readable text 4.19:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.02:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #8371b7 ≈ 0.001% of males
Protanopia #007df7 ≈ 1.01% of males
Deuteranopia #0079ef ≈ 1.27% of males
Tritanopia #72809f ≈ 0.0001% of males
Protanomaly #5672f5 ≈ 1.08% of males
Deuteranomaly #5a6ff0 ≈ 4.63% of males
Tritanomaly #7d74c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8d5ef2 {
  color: #8d5ef2;
}
Background
.bg-8d5ef2 {
  background-color: #8d5ef2;
  color: #000000;
}
Border
.border-8d5ef2 {
  border: 2px solid #8d5ef2;
}
CSS variables
:root {
  --color-primary: #8d5ef2;
  --color-primary-rgb: 141 94 242;
  --color-primary-hsl: 259 85% 66%;
}
Gradient
.gradient-8d5ef2 {
  background: linear-gradient(135deg, #8d5ef2, #d75ef2);
}
Colored shadow
.shadow-8d5ef2 {
  box-shadow: 0 8px 24px rgb(141 94 242 / 0.35);
}

Medium Slate Blue
#8d5ef2  rgb(141, 94, 242)  hsl(259, 85%, 66%)  Medium Slate Blue
#c3f25e  rgb(195, 242, 94)  hsl(79, 85%, 66%)  Inchworm
#f28d5e  rgb(242, 141, 94)  hsl(19, 85%, 66%)  Mango Tango
#5ef28d  rgb(94, 242, 141)  hsl(139, 85%, 66%)  Medium Spring Green