#8A7FCB

#8a7fcb ≈ Medium Purple

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

#8a7fcb 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.8% green and 79.61% blue; printed in CMYK it uses 32.02% cyan, 37.44% magenta, 0% yellow and 20.39% black. Its hue angle is 248.68°, with 42.22% saturation and 64.71% 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.98:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 6.22.

Description generated from the measured properties of this color.

Conversions of #8a7fcb 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.2489

Readable text 3.51:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.98:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #898989 ≈ 0.003% of males
Achromatomaly #8985a7 ≈ 0.001% of males
Protanopia #688ace ≈ 1.01% of males
Deuteranopia #6987c9 ≈ 1.27% of males
Tritanopia #7a8d9b ≈ 0.0001% of males
Protanomaly #7786cd ≈ 1.08% of males
Deuteranomaly #7784ca ≈ 4.63% of males
Tritanomaly #8188b0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Purple
#8a7fcb  rgb(138, 127, 203)  hsl(249, 42%, 65%)  Medium Purple
#c0cb7f  rgb(192, 203, 127)  hsl(69, 42%, 65%)  Dark Khaki
#cb8a7f  rgb(203, 138, 127)  hsl(9, 42%, 65%)  Old Rose
#7fcb8a  rgb(127, 203, 138)  hsl(129, 42%, 65%)  Emerald