#786BAA Color Information

Hex color code: #786BAA

The hex color #786BAA is a gentle blue with RGB values of (120, 107, 170) and HSL of (252°, 27%, 54%). It is often used for branding and logos.

Try:
Color NameLight Slate Gray
HEX
#786BAA
RGB
120, 107, 170
HSL
252°, 27%, 54%
CMYK
29%, 37%, 0%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #786BAA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

120, 107, 170

Red: 120 / Green: 107 / Blue: 170

HSL

252°, 27%, 54%

Hue: 252° / Saturation: 27% / Lightness: 54%

CMYK

29%, 37%, 0%, 33%

Cyan: 29% / Magenta: 37% / Yellow: 0% / Key: 33%

What color is #786BAA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #786BAA to RGB:

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

HEX to HSL

Convert #786BAA to HSL:

hsl(252, 27%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #786BAA to CMYK:

cmyk(29%, 37%, 0%, 33%)Color Converter →

Color Meaning and Usage

#786BAA is a delicate blue color with RGB values of 120, 107, 170 and HSL of 252°, 27%, 54%. This blue-purple hue evokes creativity and luxury, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #786BAA is #9DA96A, creating high-contrast pairings. For softer combinations, try analogous colors like #6A7DA9.

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

Contrast with #786BAA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #786BAA?

#786BAA is a delicate blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #786BAA?

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

How to use #786BAA in CSS?

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

What colors go well with #786BAA?

#9DA96A (complementary), #6A7DA9 (analogous), and #53497E (lighter shade) work well with #786BAA.