#8A7FDB

#8a7fdb ≈ Medium Purple

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

#8a7fdb 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 85.88% blue; printed in CMYK it uses 36.99% cyan, 42.01% magenta, 0% yellow and 14.12% black. Its hue angle is 247.17°, with 56.1% saturation and 67.84% 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 brand accents. Black text on this color reaches a contrast ratio of 6.14:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 5.4.

Description generated from the measured properties of this color.

Conversions of #8a7fdb into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#9966cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.257

Readable text 3.42:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.14:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8b8b8b ≈ 0.003% of males
Achromatomaly #8a86b1 ≈ 0.001% of males
Protanopia #608dde ≈ 1.01% of males
Deuteranopia #5f88d9 ≈ 1.27% of males
Tritanopia #7491a2 ≈ 0.0001% of males
Protanomaly #7388dd ≈ 1.08% of males
Deuteranomaly #7385da ≈ 4.63% of males
Tritanomaly #7e8abc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Purple
#8a7fdb  rgb(138, 127, 219)  hsl(247, 56%, 68%)  Medium Purple
#d0db7f  rgb(208, 219, 127)  hsl(67, 56%, 68%)  June Bud
#db8a7f  rgb(219, 138, 127)  hsl(7, 56%, 68%)  Light Coral
#7fdb8a  rgb(127, 219, 138)  hsl(127, 56%, 68%)  Pastel Green