#7A87A8 Color Information

Hex color code: #7A87A8

A soft blue shade, #7A87A8 appears as (122, 135, 168) in RGB and (223°, 21%, 57%) in HSL. It is typically applied in digital products.

Try:
Color NameLight Slate Gray
HEX
#7A87A8
RGB
122, 135, 168
HSL
223°, 21%, 57%
CMYK
27%, 20%, 0%, 34%

Shades

CSS Usage
color: #7A87A8;
background-color: #7A87A8;
border-color: #7A87A8;
box-shadow: 0 0 10px #7A87A8;
border: 2px solid #7A87A8;
Tailwind Usage
bg-[#7A87A8]
text-[#7A87A8]
border-[#7A87A8]
shadow-[0_0_10px_7A87A8]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #7A87A8, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #7A87A8; color: #000000; }

Badge

New Feature
.badge { background-color: #7A87A8; 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 #7A87A8; background-color: #7A87A815; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #7A87A820; border-left: 4px solid #7A87A8; }

Link / Accent

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

a { color: #7A87A8; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #7A87A8 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

122, 135, 168

Red: 122 / Green: 135 / Blue: 168

HSL

223°, 21%, 57%

Hue: 223° / Saturation: 21% / Lightness: 57%

CMYK

27%, 20%, 0%, 34%

Cyan: 27% / Magenta: 20% / Yellow: 0% / Key: 34%

What color is #7A87A8?

#7A87A8 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7A87A8 to RGB:

rgb(122, 135, 168)HEX to RGB Converter →

HEX to HSL

Convert #7A87A8 to HSL:

hsl(223, 21%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #7A87A8 to CMYK:

cmyk(27%, 20%, 0%, 34%)Color Converter →

Color Meaning and Usage

A pastel blue tone, #7A87A8 has RGB (122, 135, 168) and HSL (223°, 21%, 57%). Known for evoking creativity and luxury, this blue-purple hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7A87A8 is #A89B7A, creating high-contrast pairings. For softer combinations, try analogous colors like #7A9EA8.

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

Contrast with #7A87A8

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7A87A8?

#7A87A8 is a pastel blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #7A87A8?

#7A87A8 in RGB is (122, 135, 168) - 122 red, 135 green, and 168 blue.

How to use #7A87A8 in CSS?

Use #7A87A8 directly in your CSS properties like color or background-color.

What colors go well with #7A87A8?

#A89B7A (complementary), #7A9EA8 (analogous), and #556182 (lighter shade) work well with #7A87A8.