#8A7BF7

#8a7bf7 ≈ Medium Slate Blue

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

#8a7bf7 is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 54.12% red, 48.24% green and 96.86% blue; printed in CMYK it uses 44.13% cyan, 50.2% magenta, 0% yellow and 3.14% black. Its hue angle is 247.26°, with 88.57% saturation and 72.55% 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.26:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 6.03.

Description generated from the measured properties of this color.

Conversions of #8a7bf7 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.2628

Readable text 3.36:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.26:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8c8c8c ≈ 0.003% of males
Achromatomaly #8b86c0 ≈ 0.001% of males
Protanopia #4390fb ≈ 1.01% of males
Deuteranopia #4089f4 ≈ 1.27% of males
Tritanopia #6895ae ≈ 0.0001% of males
Protanomaly #6788fa ≈ 1.08% of males
Deuteranomaly #6683f5 ≈ 4.63% of males
Tritanomaly #778ccf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a7bf7 {
  color: #8a7bf7;
}
Background
.bg-8a7bf7 {
  background-color: #8a7bf7;
  color: #000000;
}
Border
.border-8a7bf7 {
  border: 2px solid #8a7bf7;
}
CSS variables
:root {
  --color-primary: #8a7bf7;
  --color-primary-rgb: 138 123 247;
  --color-primary-hsl: 247 89% 73%;
}
Gradient
.gradient-8a7bf7 {
  background: linear-gradient(135deg, #8a7bf7, #c87bf7);
}
Colored shadow
.shadow-8a7bf7 {
  box-shadow: 0 8px 24px rgb(138 123 247 / 0.35);
}

Medium Slate Blue
#8a7bf7  rgb(138, 123, 247)  hsl(247, 89%, 73%)  Medium Slate Blue
#e8f77b  rgb(232, 247, 123)  hsl(67, 89%, 73%)  Pastel Yellow
#f78a7b  rgb(247, 138, 123)  hsl(7, 89%, 73%)  Salmon
#7bf78a  rgb(123, 247, 138)  hsl(127, 89%, 73%)  Pale Green