#8A7FC2

#8a7fc2 ≈ Purple Mountain Majesty

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

#8a7fc2 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 76.08% blue; printed in CMYK it uses 28.87% cyan, 34.54% magenta, 0% yellow and 23.92% black. Its hue angle is 249.85°, with 35.45% saturation and 62.94% 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.9:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 5.49.

Description generated from the measured properties of this color.

Conversions of #8a7fc2 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.2448

Readable text 3.56:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.9:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #888888 ≈ 0.003% of males
Achromatomaly #8984a2 ≈ 0.001% of males
Protanopia #6d89c5 ≈ 1.01% of males
Deuteranopia #6d86c0 ≈ 1.27% of males
Tritanopia #7d8b98 ≈ 0.0001% of males
Protanomaly #7985c4 ≈ 1.08% of males
Deuteranomaly #7a83c1 ≈ 4.63% of males
Tritanomaly #8386aa ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a7fc2 {
  color: #8a7fc2;
}
Background
.bg-8a7fc2 {
  background-color: #8a7fc2;
  color: #000000;
}
Border
.border-8a7fc2 {
  border: 2px solid #8a7fc2;
}
CSS variables
:root {
  --color-primary: #8a7fc2;
  --color-primary-rgb: 138 127 194;
  --color-primary-hsl: 250 35% 63%;
}
Gradient
.gradient-8a7fc2 {
  background: linear-gradient(135deg, #8a7fc2, #ab7fc2);
}
Colored shadow
.shadow-8a7fc2 {
  box-shadow: 0 8px 24px rgb(138 127 194 / 0.35);
}

Purple Mountain Majesty
#8a7fc2  rgb(138, 127, 194)  hsl(250, 35%, 63%)  Purple Mountain Majesty
#b7c27f  rgb(183, 194, 127)  hsl(70, 35%, 63%)  Dark Khaki
#c28a7f  rgb(194, 138, 127)  hsl(10, 35%, 63%)  Rosy Brown
#7fc28a  rgb(127, 194, 138)  hsl(130, 35%, 63%)  Dark Sea Green