#786C99 Color Information

Hex color code: #786C99

A muted purple shade, #786C99 appears as (120, 108, 153) in RGB and (256°, 18%, 51%) in HSL. It is typically applied in digital products.

Try:
Color NameSlate Gray
HEX
#786C99
RGB
120, 108, 153
HSL
256°, 18%, 51%
CMYK
22%, 29%, 0%, 40%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #786C99; 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 #786C99; background-color: #786C9915; }

Alert / Toast

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

Link / Accent

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

a { color: #786C99; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

120, 108, 153

Red: 120 / Green: 108 / Blue: 153

HSL

256°, 18%, 51%

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

CMYK

22%, 29%, 0%, 40%

Cyan: 22% / Magenta: 29% / Yellow: 0% / Key: 40%

What color is #786C99?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #786C99 to RGB:

rgb(120, 108, 153)HEX to RGB Converter →

HEX to HSL

Convert #786C99 to HSL:

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

HEX to CMYK

Convert #786C99 to CMYK:

cmyk(22%, 29%, 0%, 40%)Color Converter →

Color Meaning and Usage

#786C99 is a balanced purple color with RGB values of 120, 108, 153 and HSL of 256°, 18%, 51%. This blue-purple hue evokes creativity and luxury, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #786C99 is #8D996C, creating high-contrast pairings. For softer combinations, try analogous colors like #6C7699.

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

Contrast with #786C99

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #786C99?

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

What is the RGB value of #786C99?

#786C99 in RGB is (120, 108, 153) - 120 red, 108 green, and 153 blue.

How to use #786C99 in CSS?

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

What colors go well with #786C99?

#8D996C (complementary), #6C7699 (analogous), and #544B6C (lighter shade) work well with #786C99.