#8271A2

#8271a2 ≈ Purple Mountain Majesty

  • violet
  • Lightness: medium
  • Saturation: muted
  • Cool

#8271a2 is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 50.98% red, 44.31% green and 63.53% blue; printed in CMYK it uses 19.75% cyan, 30.25% magenta, 0% yellow and 36.47% black. Its hue angle is 260.82°, with 20.85% saturation and 53.92% 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 4.83:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 5.62.

Description generated from the measured properties of this color.

Conversions of #8271a2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#996699
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1916

Readable text 4.35:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.83:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 0.003% of males
Achromatomaly #7d768b ≈ 0.001% of males
Protanopia #6679a4 ≈ 1.01% of males
Deuteranopia #6979a1 ≈ 1.27% of males
Tritanopia #7c7982 ≈ 0.0001% of males
Protanomaly #7276a3 ≈ 1.08% of males
Deuteranomaly #7476a1 ≈ 4.63% of males
Tritanomaly #7f7690 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8271a2 {
  color: #8271a2;
}
Background
.bg-8271a2 {
  background-color: #8271a2;
  color: #000000;
}
Border
.border-8271a2 {
  border: 2px solid #8271a2;
}
CSS variables
:root {
  --color-primary: #8271a2;
  --color-primary-rgb: 130 113 162;
  --color-primary-hsl: 261 21% 54%;
}
Gradient
.gradient-8271a2 {
  background: linear-gradient(135deg, #8271a2, #9a71a2);
}
Colored shadow
.shadow-8271a2 {
  box-shadow: 0 8px 24px rgb(130 113 162 / 0.35);
}

Purple Mountain Majesty
#8271a2  rgb(130, 113, 162)  hsl(261, 21%, 54%)  Purple Mountain Majesty
#91a271  rgb(145, 162, 113)  hsl(81, 21%, 54%)  Moss Green
#a28271  rgb(162, 130, 113)  hsl(21, 21%, 54%)  Beaver
#71a282  rgb(113, 162, 130)  hsl(141, 21%, 54%)  Dark Sea Green