#796FA3

#796fa3 ≈ Purple Mountain Majesty

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

#796fa3 is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 47.45% red, 43.53% green and 63.92% blue; printed in CMYK it uses 25.77% cyan, 31.9% magenta, 0% yellow and 36.08% black. Its hue angle is 251.54°, with 22.03% saturation and 53.73% 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.62:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 7.39.

Description generated from the measured properties of this color.

Conversions of #796fa3 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.1808

Readable text 4.55:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.62:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #77738a ≈ 0.001% of males
Protanopia #6277a5 ≈ 1.01% of males
Deuteranopia #6375a2 ≈ 1.27% of males
Tritanopia #707882 ≈ 0.0001% of males
Protanomaly #6c74a4 ≈ 1.08% of males
Deuteranomaly #6c73a2 ≈ 4.63% of males
Tritanomaly #747490 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-796fa3 {
  color: #796fa3;
}
Background
.bg-796fa3 {
  background-color: #796fa3;
  color: #000000;
}
Border
.border-796fa3 {
  border: 2px solid #796fa3;
}
CSS variables
:root {
  --color-primary: #796fa3;
  --color-primary-rgb: 121 111 163;
  --color-primary-hsl: 252 22% 54%;
}
Gradient
.gradient-796fa3 {
  background: linear-gradient(135deg, #796fa3, #936fa3);
}
Colored shadow
.shadow-796fa3 {
  box-shadow: 0 8px 24px rgb(121 111 163 / 0.35);
}

Purple Mountain Majesty
#796fa3  rgb(121, 111, 163)  hsl(252, 22%, 54%)  Purple Mountain Majesty
#99a36f  rgb(153, 163, 111)  hsl(72, 22%, 54%)  Moss Green
#a3796f  rgb(163, 121, 111)  hsl(12, 22%, 54%)  Beaver
#6fa379  rgb(111, 163, 121)  hsl(132, 22%, 54%)  Asparagus