#786AA2

#786aa2 ≈ Purple Mountain Majesty

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

#786aa2 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.57% green and 63.53% blue; printed in CMYK it uses 25.93% cyan, 34.57% magenta, 0% yellow and 36.47% black. Its hue angle is 255°, with 23.14% saturation and 52.55% 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.79:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 8.02.

Description generated from the measured properties of this color.

Conversions of #786aa2 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.1691

Readable text 4.79:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.38:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #756f88 ≈ 0.001% of males
Protanopia #5c73a4 ≈ 1.01% of males
Deuteranopia #5d71a1 ≈ 1.27% of males
Tritanopia #6f737e ≈ 0.0001% of males
Protanomaly #686fa3 ≈ 1.08% of males
Deuteranomaly #696fa1 ≈ 4.63% of males
Tritanomaly #73708e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-786aa2 {
  color: #786aa2;
}
Background
.bg-786aa2 {
  background-color: #786aa2;
  color: #ffffff;
}
Border
.border-786aa2 {
  border: 2px solid #786aa2;
}
CSS variables
:root {
  --color-primary: #786aa2;
  --color-primary-rgb: 120 106 162;
  --color-primary-hsl: 255 23% 53%;
}
Gradient
.gradient-786aa2 {
  background: linear-gradient(135deg, #786aa2, #946aa2);
}
Colored shadow
.shadow-786aa2 {
  box-shadow: 0 8px 24px rgb(120 106 162 / 0.35);
}

Purple Mountain Majesty
#786aa2  rgb(120, 106, 162)  hsl(255, 23%, 53%)  Purple Mountain Majesty
#94a26a  rgb(148, 162, 106)  hsl(75, 23%, 53%)  Moss Green
#a2786a  rgb(162, 120, 106)  hsl(15, 23%, 53%)  Beaver
#6aa278  rgb(106, 162, 120)  hsl(135, 23%, 53%)  Asparagus