#987EA5 Color Information
Hex color code: #987EA5
The hex color #987EA5 is a understated purple with RGB values of (152, 126, 165) and HSL of (280°, 18%, 57%). It is popular in mobile app design.
Shades
color: #987EA5; background-color: #987EA5; border-color: #987EA5; box-shadow: 0 0 10px #987EA5; border: 2px solid #987EA5;
bg-[#987EA5] text-[#987EA5] border-[#987EA5] shadow-[0_0_10px_987EA5]
Generate Gradient
background: linear-gradient(90deg, #987EA5, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #987EA5 in the color wheel.
RGB, HSL and CMYK Values
RGB
152, 126, 165
Red: 152 / Green: 126 / Blue: 165
HSL
280°, 18%, 57%
Hue: 280° / Saturation: 18% / Lightness: 57%
CMYK
8%, 24%, 0%, 35%
Cyan: 8% / Magenta: 24% / Yellow: 0% / Key: 35%
What color is #987EA5?
#987EA5 is a magenta-red hue associated with romance and playfulness.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A balanced purple tone, #987EA5 has RGB (152, 126, 165) and HSL (280°, 18%, 57%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #987EA5 is #8BA57E, creating high-contrast pairings. For softer combinations, try analogous colors like #847EA5.
Use #987EA5 in CSS: color: #987EA5 or background-color: #987EA5. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #987EA5
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #987EA5?
#987EA5 is a balanced purple color - a magenta-red hue that evokes romance and playfulness.
What is the RGB value of #987EA5?
#987EA5 in RGB is (152, 126, 165) - 152 red, 126 green, and 165 blue.
How to use #987EA5 in CSS?
Use #987EA5 directly in your CSS properties like color or background-color.