#987BF1 Color Information

Hex color code: #987BF1

A dynamic purple shade, #987BF1 appears as (152, 123, 241) in RGB and (255°, 81%, 71%) in HSL. It is typically applied in digital products.

Try:
Color NameMedium Purple
HEX
#987BF1
RGB
152, 123, 241
HSL
255°, 81%, 71%
CMYK
37%, 49%, 0%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #987BF1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

152, 123, 241

Red: 152 / Green: 123 / Blue: 241

HSL

255°, 81%, 71%

Hue: 255° / Saturation: 81% / Lightness: 71%

CMYK

37%, 49%, 0%, 5%

Cyan: 37% / Magenta: 49% / Yellow: 0% / Key: 5%

What color is #987BF1?

#987BF1 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #987BF1 to RGB:

rgb(152, 123, 241)HEX to RGB Converter →

HEX to HSL

Convert #987BF1 to HSL:

hsl(255, 81%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #987BF1 to CMYK:

cmyk(37%, 49%, 0%, 5%)Color Converter →

Color Meaning and Usage

#987BF1 is a dynamic purple color with RGB values of 152, 123, 241 and HSL of 255°, 81%, 71%. This highly saturated hue evokes energy and excitement, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #987BF1 is #D3F179, creating high-contrast pairings. For softer combinations, try analogous colors like #7997F1.

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

Contrast with #987BF1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #987BF1?

#987BF1 is a dynamic purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #987BF1?

#987BF1 in RGB is (152, 123, 241) - 152 red, 123 green, and 241 blue.

How to use #987BF1 in CSS?

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

What colors go well with #987BF1?

#D3F179 (complementary), #7997F1 (analogous), and #6134EA (lighter shade) work well with #987BF1.