#786DDF Color Information

Hex color code: #786DDF

The hex color #786DDF is a calming blue with RGB values of (120, 109, 223) and HSL of (246°, 64%, 65%). It is frequently seen in web interfaces.

Try:
Color NameMedium Slate Blue
HEX
#786DDF
RGB
120, 109, 223
HSL
246°, 64%, 65%
CMYK
46%, 51%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #786DDF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

120, 109, 223

Red: 120 / Green: 109 / Blue: 223

HSL

246°, 64%, 65%

Hue: 246° / Saturation: 64% / Lightness: 65%

CMYK

46%, 51%, 0%, 13%

Cyan: 46% / Magenta: 51% / Yellow: 0% / Key: 13%

What color is #786DDF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #786DDF to RGB:

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

HEX to HSL

Convert #786DDF to HSL:

hsl(246, 64%, 65%)RGB to HSL Converter →

HEX to CMYK

Convert #786DDF to CMYK:

cmyk(46%, 51%, 0%, 13%)Color Converter →

Color Meaning and Usage

A tranquil blue tone, #786DDF has RGB (120, 109, 223) and HSL (246°, 64%, 65%). 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 #786DDF is #D3DF6D, creating high-contrast pairings. For softer combinations, try analogous colors like #6D9ADF.

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

Contrast with #786DDF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #786DDF?

#786DDF is a tranquil blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #786DDF?

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

How to use #786DDF in CSS?

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

What colors go well with #786DDF?

#D3DF6D (complementary), #6D9ADF (analogous), and #3E2ED1 (lighter shade) work well with #786DDF.