#8A7CD9

#8a7cd9 ≈ Medium Purple

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

#8a7cd9 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 85.1% blue; printed in CMYK it uses 36.41% cyan, 42.86% magenta, 0% yellow and 14.9% black. Its hue angle is 249.03°, with 55.03% saturation and 66.86% 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.97:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 4.5.

Description generated from the measured properties of this color.

Conversions of #8a7cd9 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.2483

Readable text 3.52:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.97:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #898989 ≈ 0.003% of males
Achromatomaly #8984af ≈ 0.001% of males
Protanopia #5d8bdc ≈ 1.01% of males
Deuteranopia #5d86d7 ≈ 1.27% of males
Tritanopia #768ea0 ≈ 0.0001% of males
Protanomaly #7285db ≈ 1.08% of males
Deuteranomaly #7282d8 ≈ 4.63% of males
Tritanomaly #7e87ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Purple
#8a7cd9  rgb(138, 124, 217)  hsl(249, 55%, 67%)  Medium Purple
#cbd97c  rgb(203, 217, 124)  hsl(69, 55%, 67%)  June Bud
#d98a7c  rgb(217, 138, 124)  hsl(9, 55%, 67%)  Dark Salmon
#7cd98a  rgb(124, 217, 138)  hsl(129, 55%, 67%)  Pastel Green