#788CAB Color Information

Hex color code: #788CAB

The hex color #788CAB is a pastel blue with RGB values of (120, 140, 171) and HSL of (216°, 23%, 57%). It is commonly used in modern UI design.

Try:
Color NameLight Slate Gray
HEX
#788CAB
RGB
120, 140, 171
HSL
216°, 23%, 57%
CMYK
30%, 18%, 0%, 33%

Shades

CSS Usage
color: #788CAB;
background-color: #788CAB;
border-color: #788CAB;
box-shadow: 0 0 10px #788CAB;
border: 2px solid #788CAB;
Tailwind Usage
bg-[#788CAB]
text-[#788CAB]
border-[#788CAB]
shadow-[0_0_10px_788CAB]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #788CAB, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #788CAB; color: #000000; }

Badge

New Feature
.badge { background-color: #788CAB; 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 #788CAB; background-color: #788CAB15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #788CAB20; border-left: 4px solid #788CAB; }

Link / Accent

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

a { color: #788CAB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #788CAB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

120, 140, 171

Red: 120 / Green: 140 / Blue: 171

HSL

216°, 23%, 57%

Hue: 216° / Saturation: 23% / Lightness: 57%

CMYK

30%, 18%, 0%, 33%

Cyan: 30% / Magenta: 18% / Yellow: 0% / Key: 33%

What color is #788CAB?

#788CAB is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #788CAB to RGB:

rgb(120, 140, 171)HEX to RGB Converter →

HEX to HSL

Convert #788CAB to HSL:

hsl(216, 23%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #788CAB to CMYK:

cmyk(30%, 18%, 0%, 33%)Color Converter →

Color Meaning and Usage

A pastel blue tone, #788CAB has RGB (120, 140, 171) and HSL (216°, 23%, 57%). 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 #788CAB is #AB9678, creating high-contrast pairings. For softer combinations, try analogous colors like #78A6AB.

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

Contrast with #788CAB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #788CAB?

#788CAB is a pastel blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #788CAB?

#788CAB in RGB is (120, 140, 171) - 120 red, 140 green, and 171 blue.

How to use #788CAB in CSS?

Use #788CAB directly in your CSS properties like color or background-color.

What colors go well with #788CAB?

#AB9678 (complementary), #78A6AB (analogous), and #526684 (lighter shade) work well with #788CAB.