#8A7CD8

#8a7cd8 ≈ Medium Purple

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

#8a7cd8 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.63% green and 84.71% blue; printed in CMYK it uses 36.11% cyan, 42.59% magenta, 0% yellow and 15.29% black. Its hue angle is 249.13°, with 54.12% saturation and 66.67% 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 5.96:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 4.51.

Description generated from the measured properties of this color.

Conversions of #8a7cd8 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.2478

Readable text 3.53:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #888888 ≈ 0.003% of males
Achromatomaly #8984ae ≈ 0.001% of males
Protanopia #5d8adb ≈ 1.01% of males
Deuteranopia #5d86d6 ≈ 1.27% of males
Tritanopia #768ea0 ≈ 0.0001% of males
Protanomaly #7285da ≈ 1.08% of males
Deuteranomaly #7282d7 ≈ 4.63% of males
Tritanomaly #7e87b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a7cd8 {
  color: #8a7cd8;
}
Background
.bg-8a7cd8 {
  background-color: #8a7cd8;
  color: #000000;
}
Border
.border-8a7cd8 {
  border: 2px solid #8a7cd8;
}
CSS variables
:root {
  --color-primary: #8a7cd8;
  --color-primary-rgb: 138 124 216;
  --color-primary-hsl: 249 54% 67%;
}
Gradient
.gradient-8a7cd8 {
  background: linear-gradient(135deg, #8a7cd8, #b87cd8);
}
Colored shadow
.shadow-8a7cd8 {
  box-shadow: 0 8px 24px rgb(138 124 216 / 0.35);
}

Medium Purple
#8a7cd8  rgb(138, 124, 216)  hsl(249, 54%, 67%)  Medium Purple
#cad87c  rgb(202, 216, 124)  hsl(69, 54%, 67%)  June Bud
#d88a7c  rgb(216, 138, 124)  hsl(9, 54%, 67%)  Dark Salmon
#7cd88a  rgb(124, 216, 138)  hsl(129, 54%, 67%)  Pastel Green