#8A7FFC

#8a7ffc ≈ Medium Slate Blue

  • blue
  • Lightness: high
  • Saturation: moderate
  • Cool

#8a7ffc is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 54.12% red, 49.8% green and 98.82% blue; printed in CMYK it uses 45.24% cyan, 49.6% magenta, 0% yellow and 1.18% black. Its hue angle is 245.28°, with 95.42% saturation and 74.31% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and call-to-action buttons. Black text on this color reaches a contrast ratio of 6.52:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 7.21.

Description generated from the measured properties of this color.

Conversions of #8a7ffc 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.2761

Readable text 3.22:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.52:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8f8f8f ≈ 0.003% of males
Achromatomaly #8d89c4 ≈ 0.001% of males
Protanopia #4793ff ≈ 1.01% of males
Deuteranopia #428bf9 ≈ 1.27% of males
Tritanopia #649ab2 ≈ 0.0001% of males
Protanomaly #688cff ≈ 1.08% of males
Deuteranomaly #6687fa ≈ 4.63% of males
Tritanomaly #7590d4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a7ffc {
  color: #8a7ffc;
}
Background
.bg-8a7ffc {
  background-color: #8a7ffc;
  color: #000000;
}
Border
.border-8a7ffc {
  border: 2px solid #8a7ffc;
}
CSS variables
:root {
  --color-primary: #8a7ffc;
  --color-primary-rgb: 138 127 252;
  --color-primary-hsl: 245 95% 74%;
}
Gradient
.gradient-8a7ffc {
  background: linear-gradient(135deg, #8a7ffc, #c87ffc);
}
Colored shadow
.shadow-8a7ffc {
  box-shadow: 0 8px 24px rgb(138 127 252 / 0.35);
}

Medium Slate Blue
#8a7ffc  rgb(138, 127, 252)  hsl(245, 95%, 74%)  Medium Slate Blue
#f1fc7f  rgb(241, 252, 127)  hsl(65, 95%, 74%)  Pastel Yellow
#fc8a7f  rgb(252, 138, 127)  hsl(5, 95%, 74%)  Salmon
#7ffc8a  rgb(127, 252, 138)  hsl(125, 95%, 74%)  Mint Green