#8A7CD4

#8a7cd4 ≈ Medium Purple

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

#8a7cd4 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 83.14% blue; printed in CMYK it uses 34.91% cyan, 41.51% magenta, 0% yellow and 16.86% black. Its hue angle is 249.55°, with 50.57% saturation and 65.88% 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.91:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 4.64.

Description generated from the measured properties of this color.

Conversions of #8a7cd4 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.2457

Readable text 3.55:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.91:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #888888 ≈ 0.003% of males
Achromatomaly #8983ac ≈ 0.001% of males
Protanopia #608ad7 ≈ 1.01% of males
Deuteranopia #6086d2 ≈ 1.27% of males
Tritanopia #778d9e ≈ 0.0001% of males
Protanomaly #7384d6 ≈ 1.08% of males
Deuteranomaly #7382d3 ≈ 4.63% of males
Tritanomaly #7f86b6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Purple
#8a7cd4  rgb(138, 124, 212)  hsl(250, 51%, 66%)  Medium Purple
#c6d47c  rgb(198, 212, 124)  hsl(70, 51%, 66%)  June Bud
#d48a7c  rgb(212, 138, 124)  hsl(10, 51%, 66%)  Dark Salmon
#7cd48a  rgb(124, 212, 138)  hsl(130, 51%, 66%)  Pastel Green