#7987AF Color Information

Hex color code: #7987AF

A pastel blue shade, #7987AF appears as (121, 135, 175) in RGB and (224°, 25%, 58%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameLight Slate Gray
HEX
#7987AF
RGB
121, 135, 175
HSL
224°, 25%, 58%
CMYK
31%, 23%, 0%, 31%

Shades

CSS Usage
color: #7987AF;
background-color: #7987AF;
border-color: #7987AF;
box-shadow: 0 0 10px #7987AF;
border: 2px solid #7987AF;
Tailwind Usage
bg-[#7987AF]
text-[#7987AF]
border-[#7987AF]
shadow-[0_0_10px_7987AF]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #7987AF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #7987AF; color: #000000; }

Badge

New Feature
.badge { background-color: #7987AF; 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 #7987AF; background-color: #7987AF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #7987AF20; border-left: 4px solid #7987AF; }

Link / Accent

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

a { color: #7987AF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #7987AF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 135, 175

Red: 121 / Green: 135 / Blue: 175

HSL

224°, 25%, 58%

Hue: 224° / Saturation: 25% / Lightness: 58%

CMYK

31%, 23%, 0%, 31%

Cyan: 31% / Magenta: 23% / Yellow: 0% / Key: 31%

What color is #7987AF?

#7987AF is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7987AF to RGB:

rgb(121, 135, 175)HEX to RGB Converter →

HEX to HSL

Convert #7987AF to HSL:

hsl(224, 25%, 58%)RGB to HSL Converter →

HEX to CMYK

Convert #7987AF to CMYK:

cmyk(31%, 23%, 0%, 31%)Color Converter →

Color Meaning and Usage

A gentle blue tone, #7987AF has RGB (121, 135, 175) and HSL (224°, 25%, 58%). Known for evoking creativity and luxury, this blue-purple hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7987AF is #AFA079, creating high-contrast pairings. For softer combinations, try analogous colors like #79A2AF.

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

Contrast with #7987AF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7987AF?

#7987AF is a gentle blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #7987AF?

#7987AF in RGB is (121, 135, 175) - 121 red, 135 green, and 175 blue.

How to use #7987AF in CSS?

Use #7987AF directly in your CSS properties like color or background-color.

What colors go well with #7987AF?

#AFA079 (complementary), #79A2AF (analogous), and #526189 (lighter shade) work well with #7987AF.