#8F5CEC

#8f5cec ≈ Medium Slate Blue

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

#8f5cec is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 56.08% red, 36.08% green and 92.55% blue; printed in CMYK it uses 39.41% cyan, 61.02% magenta, 0% yellow and 7.45% black. Its hue angle is 261.25°, with 79.12% 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 4.91:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 4.89.

Description generated from the measured properties of this color.

Conversions of #8f5cec 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.1955

Readable text 4.28:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.91:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7a7a7a ≈ 0.003% of males
Achromatomaly #836fb3 ≈ 0.001% of males
Protanopia #007bf1 ≈ 1.01% of males
Deuteranopia #0678e9 ≈ 1.27% of males
Tritanopia #787c9c ≈ 0.0001% of males
Protanomaly #5970ef ≈ 1.08% of males
Deuteranomaly #5e6eea ≈ 4.63% of males
Tritanomaly #8271c1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8f5cec {
  color: #8f5cec;
}
Background
.bg-8f5cec {
  background-color: #8f5cec;
  color: #000000;
}
Border
.border-8f5cec {
  border: 2px solid #8f5cec;
}
CSS variables
:root {
  --color-primary: #8f5cec;
  --color-primary-rgb: 143 92 236;
  --color-primary-hsl: 261 79% 64%;
}
Gradient
.gradient-8f5cec {
  background: linear-gradient(135deg, #8f5cec, #d75cec);
}
Colored shadow
.shadow-8f5cec {
  box-shadow: 0 8px 24px rgb(143 92 236 / 0.35);
}

Medium Slate Blue
#8f5cec  rgb(143, 92, 236)  hsl(261, 79%, 64%)  Medium Slate Blue
#b9ec5c  rgb(185, 236, 92)  hsl(81, 79%, 64%)  Inchworm
#ec8f5c  rgb(236, 143, 92)  hsl(21, 79%, 64%)  Raw Sienna
#5cec8f  rgb(92, 236, 143)  hsl(141, 79%, 64%)  Medium Spring Green