#786BA8 Color Information

Hex color code: #786BA8

A subtle blue shade, #786BA8 appears as (120, 107, 168) in RGB and (253°, 26%, 54%) in HSL. It is popular in mobile app design.

Try:
Color NameLight Slate Gray
HEX
#786BA8
RGB
120, 107, 168
HSL
253°, 26%, 54%
CMYK
29%, 36%, 0%, 34%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #786BA8; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

120, 107, 168

Red: 120 / Green: 107 / Blue: 168

HSL

253°, 26%, 54%

Hue: 253° / Saturation: 26% / Lightness: 54%

CMYK

29%, 36%, 0%, 34%

Cyan: 29% / Magenta: 36% / Yellow: 0% / Key: 34%

What color is #786BA8?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #786BA8 to RGB:

rgb(120, 107, 168)HEX to RGB Converter →

HEX to HSL

Convert #786BA8 to HSL:

hsl(253, 26%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #786BA8 to CMYK:

cmyk(29%, 36%, 0%, 34%)Color Converter →

Color Meaning and Usage

A soft blue tone, #786BA8 has RGB (120, 107, 168) and HSL (253°, 26%, 54%). Known for evoking creativity and luxury, this blue-purple hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #786BA8 is #9BA86B, creating high-contrast pairings. For softer combinations, try analogous colors like #6B7CA8.

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

Contrast with #786BA8

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #786BA8?

#786BA8 is a soft blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #786BA8?

#786BA8 in RGB is (120, 107, 168) - 120 red, 107 green, and 168 blue.

How to use #786BA8 in CSS?

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

What colors go well with #786BA8?

#9BA86B (complementary), #6B7CA8 (analogous), and #554A7D (lighter shade) work well with #786BA8.