#8A7FC5

#8a7fc5 ≈ Purple Mountain Majesty

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

#8a7fc5 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 77.25% blue; printed in CMYK it uses 29.95% cyan, 35.53% magenta, 0% yellow and 22.75% black. Its hue angle is 249.43°, with 37.63% saturation and 63.53% 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.92:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 5.87.

Description generated from the measured properties of this color.

Conversions of #8a7fc5 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.2461

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

Achromatopsia #888888 ≈ 0.003% of males
Achromatomaly #8984a4 ≈ 0.001% of males
Protanopia #6b89c8 ≈ 1.01% of males
Deuteranopia #6c87c3 ≈ 1.27% of males
Tritanopia #7c8b99 ≈ 0.0001% of males
Protanomaly #7985c7 ≈ 1.08% of males
Deuteranomaly #7984c4 ≈ 4.63% of males
Tritanomaly #8287ac ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Purple Mountain Majesty
#8a7fc5  rgb(138, 127, 197)  hsl(249, 38%, 64%)  Purple Mountain Majesty
#bac57f  rgb(186, 197, 127)  hsl(69, 38%, 64%)  Dark Khaki
#c58a7f  rgb(197, 138, 127)  hsl(9, 38%, 64%)  Old Rose
#7fc58a  rgb(127, 197, 138)  hsl(129, 38%, 64%)  Dark Sea Green