#987AED Color Information

Hex color code: #987AED

A striking purple shade, #987AED appears as (152, 122, 237) in RGB and (256°, 76%, 70%) in HSL. It is popular in mobile app design.

Try:
Color NameMedium Purple
HEX
#987AED
RGB
152, 122, 237
HSL
256°, 76%, 70%
CMYK
36%, 49%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #987AED; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

152, 122, 237

Red: 152 / Green: 122 / Blue: 237

HSL

256°, 76%, 70%

Hue: 256° / Saturation: 76% / Lightness: 70%

CMYK

36%, 49%, 0%, 7%

Cyan: 36% / Magenta: 49% / Yellow: 0% / Key: 7%

What color is #987AED?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #987AED to RGB:

rgb(152, 122, 237)HEX to RGB Converter →

HEX to HSL

Convert #987AED to HSL:

hsl(256, 76%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #987AED to CMYK:

cmyk(36%, 49%, 0%, 7%)Color Converter →

Color Meaning and Usage

#987AED is a bold purple color with RGB values of 152, 122, 237 and HSL of 256°, 76%, 70%. This blue-purple hue evokes creativity and luxury, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #987AED is #CEED78, creating high-contrast pairings. For softer combinations, try analogous colors like #7893ED.

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

Contrast with #987AED

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #987AED?

#987AED is a bold purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #987AED?

#987AED in RGB is (152, 122, 237) - 152 red, 122 green, and 237 blue.

How to use #987AED in CSS?

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

What colors go well with #987AED?

#CEED78 (complementary), #7893ED (analogous), and #6435E3 (lighter shade) work well with #987AED.