#786BAA

#786baa ≈ Purple Mountain Majesty

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

#786baa is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 47.06% red, 41.96% green and 66.67% blue; printed in CMYK it uses 29.41% cyan, 37.06% magenta, 0% yellow and 33.33% black. Its hue angle is 252.38°, with 27.04% saturation and 54.31% 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. White text on this color reaches a contrast ratio of 4.69:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 7.84.

Description generated from the measured properties of this color.

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

Readable text 4.69:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.48:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #76708d ≈ 0.001% of males
Protanopia #5975ac ≈ 1.01% of males
Deuteranopia #5b73a8 ≈ 1.27% of males
Tritanopia #6d7682 ≈ 0.0001% of males
Protanomaly #6771ab ≈ 1.08% of males
Deuteranomaly #6870a9 ≈ 4.63% of males
Tritanomaly #727294 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-786baa {
  color: #786baa;
}
Background
.bg-786baa {
  background-color: #786baa;
  color: #ffffff;
}
Border
.border-786baa {
  border: 2px solid #786baa;
}
CSS variables
:root {
  --color-primary: #786baa;
  --color-primary-rgb: 120 107 170;
  --color-primary-hsl: 252 27% 54%;
}
Gradient
.gradient-786baa {
  background: linear-gradient(135deg, #786baa, #976baa);
}
Colored shadow
.shadow-786baa {
  box-shadow: 0 8px 24px rgb(120 107 170 / 0.35);
}

Purple Mountain Majesty
#786baa  rgb(120, 107, 170)  hsl(252, 27%, 54%)  Purple Mountain Majesty
#9daa6b  rgb(157, 170, 107)  hsl(72, 27%, 54%)  Moss Green
#aa786b  rgb(170, 120, 107)  hsl(12, 27%, 54%)  Beaver
#6baa78  rgb(107, 170, 120)  hsl(132, 27%, 54%)  Medium Sea Green