Skip to content

Old Lavender (#796878)

The hex code for Old Lavender is #796878. It is rgb(121, 104, 120) in RGB, hsl(304, 8%, 44%) in HSL, and about cmyk(0%, 14%, 1%, 53%) in CMYK — a mid-tone gray. White text is the more readable choice on this background.

#796878
HEX#796878
RGBrgb(121, 104, 120)
HSLhsl(304, 8%, 44%)
HSVhsv(304, 14%, 47%)
CMYKcmyk(0%, 14%, 1%, 53%)
OKLCHoklch(53.9% 0.032 327.9)
LABlab(46.06% 9.26 -6.35)
LCHlch(46.06% 11.22 325.57)

Colors Closest to Old Lavender

Old Lavender is a registered color name. These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.

Browse the full index of named colors A-Z or every gray in the library.

#796878 Channel Values

How Old Lavender breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 121 · G 104 · B 1208-bit channels as sent to the display
HSLH 304° · S 8% · L 44%Easiest model for building lighter and darker variants
HSVH 304° · S 14% · V 47%Matches the picker in most design tools
CMYKC 0% · M 14% · Y 1% · K 53%Approximate ink mix; confirm with an ICC profile before printing
Luminance5.17:1 vs white · 4.06:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a Old Lavender background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text5.17:1AA normal AA large AAA normal
TextBlack text4.06:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #796878 in the contrast checker.

Colors That Go With Old Lavender

Pairings derived from color-wheel relationships. The complementary color sits opposite Old Lavender; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of Old Lavender

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #796878.

How Old Lavender Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#796878
Protanopia#6B6B78
Protanomaly#716A78
Deuteranopia#6E6E78
Deuteranomaly#736C78
Tritanopia#776A6A
Tritanomaly#786970
Achromatopsia#6D6D6D

Test a full palette in the color blindness simulator.

Using #796878 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--old-lavender: #796878;
CSS backgroundbackground-color: #796878;
Tailwind configcolors: { 'old-lavender': '#796878' }
SwiftUIColor(red: 0.475, green: 0.408, blue: 0.471)
Android XML<color name="old_lavender">#796878</color>
SVG fillfill="#796878"

More Gray Colors

Old Lavender sits in the grayfamily. These are its neighbours across that family's full range, each with its own breakdown.

#796878 Frequently Asked Questions

What is the hex code for Old Lavender?

The hex code for Old Lavender is #796878. That is rgb(121, 104, 120) in RGB, hsl(304, 8%, 44%) in HSL, and approximately cmyk(0%, 14%, 1%, 53%) in CMYK.

What is the RGB value of #796878?

#796878 is rgb(121, 104, 120) — red 121, green 104, and blue 120 on the 0-255 scale.

What is the CMYK value of #796878?

#796878 converts to approximately cmyk(0%, 14%, 1%, 53%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #796878 be black or white?

White text is the more readable choice. #796878 scores 5.17:1 against white and 4.06:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #796878 as a CSS color keyword?

No. #796878 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is dimgray (#696969) at a CIE76 distance of 11.34, which is visibly different.

Open Old Lavender in a Tool

Keep exploring: every gray in the color library, the guide to shades of gray, or the full color library.