#785BEC Color Information

Hex color code: #785BEC

#785BEC is a vivid blue color. In RGB it is (120, 91, 236), and in HSL it is (252°, 79%, 64%). It is commonly used in modern UI design.

Try:
Color NameMedium Slate Blue
HEX
#785BEC
RGB
120, 91, 236
HSL
252°, 79%, 64%
CMYK
49%, 61%, 0%, 7%

Shades

CSS Usage
color: #785BEC;
background-color: #785BEC;
border-color: #785BEC;
box-shadow: 0 0 10px #785BEC;
border: 2px solid #785BEC;
Tailwind Usage
bg-[#785BEC]
text-[#785BEC]
border-[#785BEC]
shadow-[0_0_10px_785BEC]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #785BEC, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #785BEC; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #785BEC; 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 #785BEC; background-color: #785BEC15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #785BEC20; border-left: 4px solid #785BEC; }

Link / Accent

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

a { color: #785BEC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #785BEC in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

120, 91, 236

Red: 120 / Green: 91 / Blue: 236

HSL

252°, 79%, 64%

Hue: 252° / Saturation: 79% / Lightness: 64%

CMYK

49%, 61%, 0%, 7%

Cyan: 49% / Magenta: 61% / Yellow: 0% / Key: 7%

What color is #785BEC?

#785BEC is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #785BEC to RGB:

rgb(120, 91, 236)HEX to RGB Converter →

HEX to HSL

Convert #785BEC to HSL:

hsl(252, 79%, 64%)RGB to HSL Converter →

HEX to CMYK

Convert #785BEC to CMYK:

cmyk(49%, 61%, 0%, 7%)Color Converter →

Color Meaning and Usage

A striking blue tone, #785BEC has RGB (120, 91, 236) and HSL (252°, 79%, 64%). Known for evoking creativity and luxury, this blue-purple hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #785BEC is #CFEC5B, creating high-contrast pairings. For softer combinations, try analogous colors like #5B86EC.

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

Contrast with #785BEC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #785BEC?

#785BEC is a striking blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #785BEC?

#785BEC in RGB is (120, 91, 236) - 120 red, 91 green, and 236 blue.

How to use #785BEC in CSS?

Use #785BEC directly in your CSS properties like color or background-color.

What colors go well with #785BEC?

#CFEC5B (complementary), #5B86EC (analogous), and #421AE0 (lighter shade) work well with #785BEC.