#8F51EC

#8f51ec ≈ Medium Slate Blue

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

#8f51ec is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 56.08% red, 31.76% green and 92.55% blue; printed in CMYK it uses 39.41% cyan, 65.68% magenta, 0% yellow and 7.45% black. Its hue angle is 264°, with 80.31% saturation and 62.16% 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. White text on this color reaches a contrast ratio of 4.61:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 6.87.

Description generated from the measured properties of this color.

Conversions of #8f51ec 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.1778

Readable text 4.61: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 #8068b1 ≈ 0.001% of males
Protanopia #0075f1 ≈ 1.01% of males
Deuteranopia #0073e9 ≈ 1.27% of males
Tritanopia #787598 ≈ 0.0001% of males
Protanomaly #5269ef ≈ 1.08% of males
Deuteranomaly #5867ea ≈ 4.63% of males
Tritanomaly #8269bf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8f51ec {
  color: #8f51ec;
}
Background
.bg-8f51ec {
  background-color: #8f51ec;
  color: #ffffff;
}
Border
.border-8f51ec {
  border: 2px solid #8f51ec;
}
CSS variables
:root {
  --color-primary: #8f51ec;
  --color-primary-rgb: 143 81 236;
  --color-primary-hsl: 264 80% 62%;
}
Gradient
.gradient-8f51ec {
  background: linear-gradient(135deg, #8f51ec, #dd51ec);
}
Colored shadow
.shadow-8f51ec {
  box-shadow: 0 8px 24px rgb(143 81 236 / 0.35);
}

Medium Slate Blue
#8f51ec  rgb(143, 81, 236)  hsl(264, 80%, 62%)  Medium Slate Blue
#aeec51  rgb(174, 236, 81)  hsl(84, 80%, 62%)  Inchworm
#ec8f51  rgb(236, 143, 81)  hsl(24, 80%, 62%)  Persian Orange
#51ec8f  rgb(81, 236, 143)  hsl(144, 80%, 62%)  Medium Spring Green