#797AB2

#797ab2 ≈ Purple Mountain Majesty

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

#797ab2 is a color from the blue family, with medium lightness and muted saturation. In the RGB model it is made of 47.45% red, 47.84% green and 69.8% blue; printed in CMYK it uses 32.02% cyan, 31.46% magenta, 0% yellow and 30.2% black. Its hue angle is 238.95°, with 27.01% saturation and 58.63% 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.24:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 8.06.

Description generated from the measured properties of this color.

Conversions of #797ab2 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.212

Readable text 4.01:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.24:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #7d7d96 ≈ 0.001% of males
Protanopia #6a81b4 ≈ 1.01% of males
Deuteranopia #677db1 ≈ 1.27% of males
Tritanopia #6a848e ≈ 0.0001% of males
Protanomaly #707eb3 ≈ 1.08% of males
Deuteranomaly #6f7cb1 ≈ 4.63% of males
Tritanomaly #71809e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-797ab2 {
  color: #797ab2;
}
Background
.bg-797ab2 {
  background-color: #797ab2;
  color: #000000;
}
Border
.border-797ab2 {
  border: 2px solid #797ab2;
}
CSS variables
:root {
  --color-primary: #797ab2;
  --color-primary-rgb: 121 122 178;
  --color-primary-hsl: 239 27% 59%;
}
Gradient
.gradient-797ab2 {
  background: linear-gradient(135deg, #797ab2, #9579b2);
}
Colored shadow
.shadow-797ab2 {
  box-shadow: 0 8px 24px rgb(121 122 178 / 0.35);
}

Purple Mountain Majesty
#797ab2  rgb(121, 122, 178)  hsl(239, 27%, 59%)  Purple Mountain Majesty
#b2b179  rgb(178, 177, 121)  hsl(59, 27%, 59%)  Sage
#b2797a  rgb(178, 121, 122)  hsl(359, 27%, 59%)  Old Rose
#7ab279  rgb(122, 178, 121)  hsl(119, 27%, 59%)  Dark Sea Green