#796E8A

#796e8a ≈ Old Lavender

  • violet
  • Lightness: medium
  • Saturation: almost no
  • Neutral

#796e8a is a color from the violet family, with medium lightness and almost no saturation. In the RGB model it is made of 47.45% red, 43.14% green and 54.12% blue; printed in CMYK it uses 12.32% cyan, 20.29% magenta, 0% yellow and 45.88% black. Its hue angle is 263.57°, with 11.29% saturation and 48.63% lightness in HSL. It is a neutral color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 4.76:1 (WCAG AA). The closest named color is Old Lavender (#796878), ΔE 5.57.

Description generated from the measured properties of this color.

Conversions of #796e8a 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.1705

Readable text 4.76:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.41:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #75717d ≈ 0.001% of males
Protanopia #69728b ≈ 1.01% of males
Deuteranopia #6b7389 ≈ 1.27% of males
Tritanopia #767277 ≈ 0.0001% of males
Protanomaly #70718b ≈ 1.08% of males
Deuteranomaly #717189 ≈ 4.63% of males
Tritanomaly #77707f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-796e8a {
  color: #796e8a;
}
Background
.bg-796e8a {
  background-color: #796e8a;
  color: #ffffff;
}
Border
.border-796e8a {
  border: 2px solid #796e8a;
}
CSS variables
:root {
  --color-primary: #796e8a;
  --color-primary-rgb: 121 110 138;
  --color-primary-hsl: 264 11% 49%;
}
Gradient
.gradient-796e8a {
  background: linear-gradient(135deg, #796e8a, #876e8a);
}
Colored shadow
.shadow-796e8a {
  box-shadow: 0 8px 24px rgb(121 110 138 / 0.35);
}

Old Lavender
#796e8a  rgb(121, 110, 138)  hsl(264, 11%, 49%)  Old Lavender
#7f8a6e  rgb(127, 138, 110)  hsl(84, 11%, 49%)  Xanadu
#8a796e  rgb(138, 121, 110)  hsl(24, 11%, 49%)  Beaver
#6e8a79  rgb(110, 138, 121)  hsl(144, 11%, 49%)  Xanadu