#786D97 Color Information

Hex color code: #786D97

#786D97 is a neutral purple color. In RGB it is (120, 109, 151), and in HSL it is (256°, 17%, 51%). It is frequently seen in web interfaces.

Try:
Color NameSlate Gray
HEX
#786D97
RGB
120, 109, 151
HSL
256°, 17%, 51%
CMYK
21%, 28%, 0%, 41%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #786D97; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #786D97; color: #FFFFFF; }

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 #786D97; background-color: #786D9715; }

Alert / Toast

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

Link / Accent

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

a { color: #786D97; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #786D97 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

120, 109, 151

Red: 120 / Green: 109 / Blue: 151

HSL

256°, 17%, 51%

Hue: 256° / Saturation: 17% / Lightness: 51%

CMYK

21%, 28%, 0%, 41%

Cyan: 21% / Magenta: 28% / Yellow: 0% / Key: 41%

What color is #786D97?

#786D97 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #786D97 to RGB:

rgb(120, 109, 151)HEX to RGB Converter →

HEX to HSL

Convert #786D97 to HSL:

hsl(256, 17%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #786D97 to CMYK:

cmyk(21%, 28%, 0%, 41%)Color Converter →

Color Meaning and Usage

A balanced purple tone, #786D97 has RGB (120, 109, 151) and HSL (256°, 17%, 51%). Known for evoking creativity and luxury, this blue-purple hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #786D97 is #8C976D, creating high-contrast pairings. For softer combinations, try analogous colors like #6D7797.

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

Contrast with #786D97

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

Contrast Ratio: 4.43:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #786D97?

#786D97 is a balanced purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #786D97?

#786D97 in RGB is (120, 109, 151) - 120 red, 109 green, and 151 blue.

How to use #786D97 in CSS?

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

What colors go well with #786D97?

#8C976D (complementary), #6D7797 (analogous), and #554C6B (lighter shade) work well with #786D97.