#9876C4 Color Information

Hex color code: #9876C4

The hex color #9876C4 is a soft purple with RGB values of (152, 118, 196) and HSL of (266°, 40%, 62%). It is typically applied in digital products.

Try:
Color NameMedium Purple
HEX
#9876C4
RGB
152, 118, 196
HSL
266°, 40%, 62%
CMYK
22%, 40%, 0%, 23%

Shades

CSS Usage
color: #9876C4;
background-color: #9876C4;
border-color: #9876C4;
box-shadow: 0 0 10px #9876C4;
border: 2px solid #9876C4;
Tailwind Usage
bg-[#9876C4]
text-[#9876C4]
border-[#9876C4]
shadow-[0_0_10px_9876C4]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #9876C4, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #9876C4; color: #000000; }

Badge

New Feature
.badge { background-color: #9876C4; 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 #9876C4; background-color: #9876C415; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #9876C420; border-left: 4px solid #9876C4; }

Link / Accent

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

a { color: #9876C4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #9876C4 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

152, 118, 196

Red: 152 / Green: 118 / Blue: 196

HSL

266°, 40%, 62%

Hue: 266° / Saturation: 40% / Lightness: 62%

CMYK

22%, 40%, 0%, 23%

Cyan: 22% / Magenta: 40% / Yellow: 0% / Key: 23%

What color is #9876C4?

#9876C4 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9876C4 to RGB:

rgb(152, 118, 196)HEX to RGB Converter →

HEX to HSL

Convert #9876C4 to HSL:

hsl(266, 40%, 62%)RGB to HSL Converter →

HEX to CMYK

Convert #9876C4 to CMYK:

cmyk(22%, 40%, 0%, 23%)Color Converter →

Color Meaning and Usage

#9876C4 is a delicate purple color with RGB values of 152, 118, 196 and HSL of 266°, 40%, 62%. This blue-purple hue evokes creativity and luxury, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9876C4 is #A3C577, creating high-contrast pairings. For softer combinations, try analogous colors like #777DC5.

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

Contrast with #9876C4

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9876C4?

#9876C4 is a delicate purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #9876C4?

#9876C4 in RGB is (152, 118, 196) - 152 red, 118 green, and 196 blue.

How to use #9876C4 in CSS?

Use #9876C4 directly in your CSS properties like color or background-color.

What colors go well with #9876C4?

#A3C577 (complementary), #777DC5 (analogous), and #7148A8 (lighter shade) work well with #9876C4.