#797387 Color Information

Hex color code: #797387

The hex color #797387 is a understated purple with RGB values of (121, 115, 135) and HSL of (258°, 8%, 49%). It is popular in mobile app design.

Try:
Color NameGray
HEX
#797387
RGB
121, 115, 135
HSL
258°, 8%, 49%
CMYK
10%, 15%, 0%, 47%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #797387; 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 #797387; background-color: #79738715; }

Alert / Toast

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

Link / Accent

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

a { color: #797387; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 115, 135

Red: 121 / Green: 115 / Blue: 135

HSL

258°, 8%, 49%

Hue: 258° / Saturation: 8% / Lightness: 49%

CMYK

10%, 15%, 0%, 47%

Cyan: 10% / Magenta: 15% / Yellow: 0% / Key: 47%

What color is #797387?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #797387 to RGB:

rgb(121, 115, 135)HEX to RGB Converter →

HEX to HSL

Convert #797387 to HSL:

hsl(258, 8%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #797387 to CMYK:

cmyk(10%, 15%, 0%, 47%)Color Converter →

Color Meaning and Usage

A balanced purple tone, #797387 has RGB (121, 115, 135) and HSL (258°, 8%, 49%). Known for evoking balance and subtlety, this desaturated neutral is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #797387 is #818773, creating high-contrast pairings. For softer combinations, try analogous colors like #737787.

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

Contrast with #797387

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #797387?

#797387 is a balanced purple color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #797387?

#797387 in RGB is (121, 115, 135) - 121 red, 115 green, and 135 blue.

How to use #797387 in CSS?

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

What colors go well with #797387?

#818773 (complementary), #737787 (analogous), and #54505E (lighter shade) work well with #797387.