#987DCF Color Information

Hex color code: #987DCF

A delicate purple shade, #987DCF appears as (152, 125, 207) in RGB and (260°, 46%, 65%) in HSL. It is widely used in graphic design.

Try:
Color NameMedium Purple
HEX
#987DCF
RGB
152, 125, 207
HSL
260°, 46%, 65%
CMYK
27%, 40%, 0%, 19%

Shades

CSS Usage
color: #987DCF;
background-color: #987DCF;
border-color: #987DCF;
box-shadow: 0 0 10px #987DCF;
border: 2px solid #987DCF;
Tailwind Usage
bg-[#987DCF]
text-[#987DCF]
border-[#987DCF]
shadow-[0_0_10px_987DCF]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #987DCF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #987DCF; color: #000000; }

Badge

New Feature
.badge { background-color: #987DCF; 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 #987DCF; background-color: #987DCF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #987DCF20; border-left: 4px solid #987DCF; }

Link / Accent

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

a { color: #987DCF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #987DCF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

152, 125, 207

Red: 152 / Green: 125 / Blue: 207

HSL

260°, 46%, 65%

Hue: 260° / Saturation: 46% / Lightness: 65%

CMYK

27%, 40%, 0%, 19%

Cyan: 27% / Magenta: 40% / Yellow: 0% / Key: 19%

What color is #987DCF?

#987DCF is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #987DCF to RGB:

rgb(152, 125, 207)HEX to RGB Converter →

HEX to HSL

Convert #987DCF to HSL:

hsl(260, 46%, 65%)RGB to HSL Converter →

HEX to CMYK

Convert #987DCF to CMYK:

cmyk(27%, 40%, 0%, 19%)Color Converter →

Color Meaning and Usage

A gentle purple tone, #987DCF has RGB (152, 125, 207) and HSL (260°, 46%, 65%). Known for evoking creativity and luxury, this blue-purple hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #987DCF is #B3CF7D, creating high-contrast pairings. For softer combinations, try analogous colors like #7D8ACF.

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

Contrast with #987DCF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #987DCF?

#987DCF is a gentle purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #987DCF?

#987DCF in RGB is (152, 125, 207) - 152 red, 125 green, and 207 blue.

How to use #987DCF in CSS?

Use #987DCF directly in your CSS properties like color or background-color.

What colors go well with #987DCF?

#B3CF7D (complementary), #7D8ACF (analogous), and #6C45BA (lighter shade) work well with #987DCF.