#8A7EC0

#8a7ec0 ≈ Purple Mountain Majesty

  • violet
  • Lightness: high
  • Saturation: moderate
  • Cool

#8a7ec0 is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 54.12% red, 49.41% green and 75.29% blue; printed in CMYK it uses 28.13% cyan, 34.37% magenta, 0% yellow and 24.71% black. Its hue angle is 250.91°, with 34.37% saturation and 62.35% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. Black text on this color reaches a contrast ratio of 5.83:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 5.07.

Description generated from the measured properties of this color.

Conversions of #8a7ec0 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.2413

Readable text 3.6:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.83:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #878787 ≈ 0.003% of males
Achromatomaly #8883a1 ≈ 0.001% of males
Protanopia #6c88c3 ≈ 1.01% of males
Deuteranopia #6d86be ≈ 1.27% of males
Tritanopia #7e8996 ≈ 0.0001% of males
Protanomaly #7984c2 ≈ 1.08% of males
Deuteranomaly #7a83bf ≈ 4.63% of males
Tritanomaly #8385a9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a7ec0 {
  color: #8a7ec0;
}
Background
.bg-8a7ec0 {
  background-color: #8a7ec0;
  color: #000000;
}
Border
.border-8a7ec0 {
  border: 2px solid #8a7ec0;
}
CSS variables
:root {
  --color-primary: #8a7ec0;
  --color-primary-rgb: 138 126 192;
  --color-primary-hsl: 251 34% 62%;
}
Gradient
.gradient-8a7ec0 {
  background: linear-gradient(135deg, #8a7ec0, #ab7ec0);
}
Colored shadow
.shadow-8a7ec0 {
  box-shadow: 0 8px 24px rgb(138 126 192 / 0.35);
}

Purple Mountain Majesty
#8a7ec0  rgb(138, 126, 192)  hsl(251, 34%, 62%)  Purple Mountain Majesty
#b4c07e  rgb(180, 192, 126)  hsl(71, 34%, 62%)  Olivine
#c08a7e  rgb(192, 138, 126)  hsl(11, 34%, 62%)  Rosy Brown
#7ec08a  rgb(126, 192, 138)  hsl(131, 34%, 62%)  Dark Sea Green