#9879EC Color Information

Hex color code: #9879EC

#9879EC is a bold purple color. In RGB it is (152, 121, 236), and in HSL it is (256°, 75%, 70%). It is frequently seen in web interfaces.

Try:
Color NameMedium Purple
HEX
#9879EC
RGB
152, 121, 236
HSL
256°, 75%, 70%
CMYK
36%, 49%, 0%, 7%

Shades

CSS Usage
color: #9879EC;
background-color: #9879EC;
border-color: #9879EC;
box-shadow: 0 0 10px #9879EC;
border: 2px solid #9879EC;
Tailwind Usage
bg-[#9879EC]
text-[#9879EC]
border-[#9879EC]
shadow-[0_0_10px_9879EC]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #9879EC, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #9879EC; color: #000000; }

Badge

New Feature
.badge { background-color: #9879EC; 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 #9879EC; background-color: #9879EC15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #9879EC20; border-left: 4px solid #9879EC; }

Link / Accent

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

a { color: #9879EC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #9879EC in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

152, 121, 236

Red: 152 / Green: 121 / Blue: 236

HSL

256°, 75%, 70%

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

CMYK

36%, 49%, 0%, 7%

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

What color is #9879EC?

#9879EC is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9879EC to RGB:

rgb(152, 121, 236)HEX to RGB Converter →

HEX to HSL

Convert #9879EC to HSL:

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

HEX to CMYK

Convert #9879EC to CMYK:

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

Color Meaning and Usage

#9879EC is a dynamic purple color with RGB values of 152, 121, 236 and HSL of 256°, 75%, 70%. This blue-purple hue evokes creativity and luxury, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9879EC is #CDEC79, creating high-contrast pairings. For softer combinations, try analogous colors like #7994EC.

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

Contrast with #9879EC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9879EC?

#9879EC is a dynamic purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #9879EC?

#9879EC in RGB is (152, 121, 236) - 152 red, 121 green, and 236 blue.

How to use #9879EC in CSS?

Use #9879EC directly in your CSS properties like color or background-color.

What colors go well with #9879EC?

#CDEC79 (complementary), #7994EC (analogous), and #6436E2 (lighter shade) work well with #9879EC.