#978797 Color Information

Hex color code: #978797

#978797 is a muted magenta color. In RGB it is (151, 135, 151), and in HSL it is (300°, 7%, 56%). It is typically applied in digital products.

Try:
Color NameLight Slate Gray
HEX
#978797
RGB
151, 135, 151
HSL
300°, 7%, 56%
CMYK
0%, 11%, 0%, 41%

Shades

CSS Usage
color: #978797;
background-color: #978797;
border-color: #978797;
box-shadow: 0 0 10px #978797;
border: 2px solid #978797;
Tailwind Usage
bg-[#978797]
text-[#978797]
border-[#978797]
shadow-[0_0_10px_978797]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #978797, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #978797; color: #000000; }

Badge

New Feature
.badge { background-color: #978797; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #978797; background-color: #97879715; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #97879720; border-left: 4px solid #978797; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #978797; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #978797 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

151, 135, 151

Red: 151 / Green: 135 / Blue: 151

HSL

300°, 7%, 56%

Hue: 300° / Saturation: 7% / Lightness: 56%

CMYK

0%, 11%, 0%, 41%

Cyan: 0% / Magenta: 11% / Yellow: 0% / Key: 41%

What color is #978797?

#978797 is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #978797 to RGB:

rgb(151, 135, 151)HEX to RGB Converter →

HEX to HSL

Convert #978797 to HSL:

hsl(300, 7%, 56%)RGB to HSL Converter →

HEX to CMYK

Convert #978797 to CMYK:

cmyk(0%, 11%, 0%, 41%)Color Converter →

Color Meaning and Usage

#978797 is a balanced magenta color with RGB values of 151, 135, 151 and HSL of 300°, 7%, 56%. This desaturated neutral evokes balance and subtlety, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #978797 is #879787, creating high-contrast pairings. For softer combinations, try analogous colors like #8F8797.

Use #978797 in CSS: color: #978797 or background-color: #978797. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #978797

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 6.23:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #978797?

#978797 is a balanced magenta color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #978797?

#978797 in RGB is (151, 135, 151) - 151 red, 135 green, and 151 blue.

How to use #978797 in CSS?

Use #978797 directly in your CSS properties like color or background-color.

What colors go well with #978797?

#879787 (complementary), #8F8797 (analogous), and #706170 (lighter shade) work well with #978797.