#797BAD

#797bad ≈ Purple Mountain Majesty

  • blue
  • Lightness: medium
  • Saturation: muted
  • Cool

#797bad is a color from the blue family, with medium lightness and muted saturation. In the RGB model it is made of 47.45% red, 48.24% green and 67.84% blue; printed in CMYK it uses 30.06% cyan, 28.9% magenta, 0% yellow and 32.16% black. Its hue angle is 237.69°, with 24.07% saturation and 57.65% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. Black text on this color reaches a contrast ratio of 5.25:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 8.29.

Description generated from the measured properties of this color.

Conversions of #797bad 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.2125

Readable text 4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.25:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #7d7d94 ≈ 0.001% of males
Protanopia #6d81af ≈ 1.01% of males
Deuteranopia #6a7dac ≈ 1.27% of males
Tritanopia #6c848d ≈ 0.0001% of males
Protanomaly #727fae ≈ 1.08% of males
Deuteranomaly #717cac ≈ 4.63% of males
Tritanomaly #71819b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-797bad {
  color: #797bad;
}
Background
.bg-797bad {
  background-color: #797bad;
  color: #000000;
}
Border
.border-797bad {
  border: 2px solid #797bad;
}
CSS variables
:root {
  --color-primary: #797bad;
  --color-primary-rgb: 121 123 173;
  --color-primary-hsl: 238 24% 58%;
}
Gradient
.gradient-797bad {
  background: linear-gradient(135deg, #797bad, #9179ad);
}
Colored shadow
.shadow-797bad {
  box-shadow: 0 8px 24px rgb(121 123 173 / 0.35);
}

Purple Mountain Majesty
#797bad  rgb(121, 123, 173)  hsl(238, 24%, 58%)  Purple Mountain Majesty
#adab79  rgb(173, 171, 121)  hsl(58, 24%, 58%)  Sage
#ad797b  rgb(173, 121, 123)  hsl(358, 24%, 58%)  Old Rose
#7bad79  rgb(123, 173, 121)  hsl(118, 24%, 58%)  Asparagus