#796EB4

#796eb4 ≈ Purple Mountain Majesty

  • blue
  • Lightness: medium
  • Saturation: moderate
  • Cool

#796eb4 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 47.45% red, 43.14% green and 70.59% blue; printed in CMYK it uses 32.78% cyan, 38.89% magenta, 0% yellow and 29.41% black. Its hue angle is 249.43°, with 31.82% saturation and 56.86% 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 4.7:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 7.7.

Description generated from the measured properties of this color.

Conversions of #796eb4 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6666cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1851

Readable text 4.47:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.7:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #787493 ≈ 0.001% of males
Protanopia #5979b7 ≈ 1.01% of males
Deuteranopia #5976b2 ≈ 1.27% of males
Tritanopia #6b7b88 ≈ 0.0001% of males
Protanomaly #6774b6 ≈ 1.08% of males
Deuteranomaly #6773b3 ≈ 4.63% of males
Tritanomaly #71769c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-796eb4 {
  color: #796eb4;
}
Background
.bg-796eb4 {
  background-color: #796eb4;
  color: #000000;
}
Border
.border-796eb4 {
  border: 2px solid #796eb4;
}
CSS variables
:root {
  --color-primary: #796eb4;
  --color-primary-rgb: 121 110 180;
  --color-primary-hsl: 249 32% 57%;
}
Gradient
.gradient-796eb4 {
  background: linear-gradient(135deg, #796eb4, #9c6eb4);
}
Colored shadow
.shadow-796eb4 {
  box-shadow: 0 8px 24px rgb(121 110 180 / 0.35);
}

Purple Mountain Majesty
#796eb4  rgb(121, 110, 180)  hsl(249, 32%, 57%)  Purple Mountain Majesty
#a9b46e  rgb(169, 180, 110)  hsl(69, 32%, 57%)  Olivine
#b4796e  rgb(180, 121, 110)  hsl(9, 32%, 57%)  Old Rose
#6eb479  rgb(110, 180, 121)  hsl(129, 32%, 57%)  Medium Sea Green