#796EA8

#796ea8 ≈ Purple Mountain Majesty

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

#796ea8 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.14% green and 65.88% blue; printed in CMYK it uses 27.98% cyan, 34.52% magenta, 0% yellow and 34.12% black. Its hue angle is 251.38°, with 25% saturation and 54.51% 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.61:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 7.29.

Description generated from the measured properties of this color.

Conversions of #796ea8 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.1804

Readable text 4.56:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.61:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #77738d ≈ 0.001% of males
Protanopia #5e77aa ≈ 1.01% of males
Deuteranopia #5f75a6 ≈ 1.27% of males
Tritanopia #6f7883 ≈ 0.0001% of males
Protanomaly #6a73a9 ≈ 1.08% of males
Deuteranomaly #6b72a7 ≈ 4.63% of males
Tritanomaly #737493 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-796ea8 {
  color: #796ea8;
}
Background
.bg-796ea8 {
  background-color: #796ea8;
  color: #000000;
}
Border
.border-796ea8 {
  border: 2px solid #796ea8;
}
CSS variables
:root {
  --color-primary: #796ea8;
  --color-primary-rgb: 121 110 168;
  --color-primary-hsl: 251 25% 55%;
}
Gradient
.gradient-796ea8 {
  background: linear-gradient(135deg, #796ea8, #966ea8);
}
Colored shadow
.shadow-796ea8 {
  box-shadow: 0 8px 24px rgb(121 110 168 / 0.35);
}

Purple Mountain Majesty
#796ea8  rgb(121, 110, 168)  hsl(251, 25%, 55%)  Purple Mountain Majesty
#9da86e  rgb(157, 168, 110)  hsl(71, 25%, 55%)  Moss Green
#a8796e  rgb(168, 121, 110)  hsl(11, 25%, 55%)  Beaver
#6ea879  rgb(110, 168, 121)  hsl(131, 25%, 55%)  Asparagus