#8A7ECF

#8a7ecf ≈ Medium Purple

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

#8a7ecf 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.41% green and 81.18% blue; printed in CMYK it uses 33.33% cyan, 39.13% magenta, 0% yellow and 18.82% black. Its hue angle is 248.89°, with 45.76% saturation and 65.29% 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 5.56.

Description generated from the measured properties of this color.

Conversions of #8a7ecf 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 #8984a9 ≈ 0.001% of males
Protanopia #658ad2 ≈ 1.01% of males
Deuteranopia #6587cd ≈ 1.27% of males
Tritanopia #798d9d ≈ 0.0001% of males
Protanomaly #7686d1 ≈ 1.08% of males
Deuteranomaly #7683ce ≈ 4.63% of males
Tritanomaly #8087b3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a7ecf {
  color: #8a7ecf;
}
Background
.bg-8a7ecf {
  background-color: #8a7ecf;
  color: #000000;
}
Border
.border-8a7ecf {
  border: 2px solid #8a7ecf;
}
CSS variables
:root {
  --color-primary: #8a7ecf;
  --color-primary-rgb: 138 126 207;
  --color-primary-hsl: 249 46% 65%;
}
Gradient
.gradient-8a7ecf {
  background: linear-gradient(135deg, #8a7ecf, #b27ecf);
}
Colored shadow
.shadow-8a7ecf {
  box-shadow: 0 8px 24px rgb(138 126 207 / 0.35);
}

Medium Purple
#8a7ecf  rgb(138, 126, 207)  hsl(249, 46%, 65%)  Medium Purple
#c3cf7e  rgb(195, 207, 126)  hsl(69, 46%, 65%)  June Bud
#cf8a7e  rgb(207, 138, 126)  hsl(9, 46%, 65%)  Old Rose
#7ecf8a  rgb(126, 207, 138)  hsl(129, 46%, 65%)  Emerald