#8A7CD7

#8a7cd7 ≈ Medium Purple

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

#8a7cd7 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.31% blue; printed in CMYK it uses 35.81% cyan, 42.33% magenta, 0% yellow and 15.69% black. Its hue angle is 249.23°, with 53.22% saturation and 66.47% 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.94:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 4.54.

Description generated from the measured properties of this color.

Conversions of #8a7cd7 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.2472

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

Achromatopsia #888888 ≈ 0.003% of males
Achromatomaly #8984ad ≈ 0.001% of males
Protanopia #5e8ada ≈ 1.01% of males
Deuteranopia #5e86d5 ≈ 1.27% of males
Tritanopia #768d9f ≈ 0.0001% of males
Protanomaly #7285d9 ≈ 1.08% of males
Deuteranomaly #7282d6 ≈ 4.63% of males
Tritanomaly #7f87b8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Purple
#8a7cd7  rgb(138, 124, 215)  hsl(249, 53%, 66%)  Medium Purple
#c9d77c  rgb(201, 215, 124)  hsl(69, 53%, 66%)  June Bud
#d78a7c  rgb(215, 138, 124)  hsl(9, 53%, 66%)  Dark Salmon
#7cd78a  rgb(124, 215, 138)  hsl(129, 53%, 66%)  Pastel Green