#796D9C

#796d9c ≈ Purple Mountain Majesty

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

#796d9c is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 47.45% red, 42.75% green and 61.18% blue; printed in CMYK it uses 22.44% cyan, 30.13% magenta, 0% yellow and 38.82% black. Its hue angle is 255.32°, with 19.18% saturation and 51.96% 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 8.

Description generated from the measured properties of this color.

Conversions of #796d9c 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.174

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 #767186 ≈ 0.001% of males
Protanopia #62749e ≈ 1.01% of males
Deuteranopia #63739b ≈ 1.27% of males
Tritanopia #72757e ≈ 0.0001% of males
Protanomaly #6c719d ≈ 1.08% of males
Deuteranomaly #6d719b ≈ 4.63% of males
Tritanomaly #75728b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-796d9c {
  color: #796d9c;
}
Background
.bg-796d9c {
  background-color: #796d9c;
  color: #ffffff;
}
Border
.border-796d9c {
  border: 2px solid #796d9c;
}
CSS variables
:root {
  --color-primary: #796d9c;
  --color-primary-rgb: 121 109 156;
  --color-primary-hsl: 255 19% 52%;
}
Gradient
.gradient-796d9c {
  background: linear-gradient(135deg, #796d9c, #906d9c);
}
Colored shadow
.shadow-796d9c {
  box-shadow: 0 8px 24px rgb(121 109 156 / 0.35);
}

Purple Mountain Majesty
#796d9c  rgb(121, 109, 156)  hsl(255, 19%, 52%)  Purple Mountain Majesty
#909c6d  rgb(144, 156, 109)  hsl(75, 19%, 52%)  Moss Green
#9c796d  rgb(156, 121, 109)  hsl(15, 19%, 52%)  Beaver
#6d9c79  rgb(109, 156, 121)  hsl(135, 19%, 52%)  Asparagus