#9873E7 Color Information

Hex color code: #9873E7

#9873E7 is a vivid purple color. In RGB it is (152, 115, 231), and in HSL it is (259°, 71%, 68%). It is commonly used in modern UI design.

Try:
Color NameMedium Purple
HEX
#9873E7
RGB
152, 115, 231
HSL
259°, 71%, 68%
CMYK
34%, 50%, 0%, 9%

Shades

CSS Usage
color: #9873E7;
background-color: #9873E7;
border-color: #9873E7;
box-shadow: 0 0 10px #9873E7;
border: 2px solid #9873E7;
Tailwind Usage
bg-[#9873E7]
text-[#9873E7]
border-[#9873E7]
shadow-[0_0_10px_9873E7]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #9873E7, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #9873E7; color: #000000; }

Badge

New Feature
.badge { background-color: #9873E7; 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 #9873E7; background-color: #9873E715; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #9873E720; border-left: 4px solid #9873E7; }

Link / Accent

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

a { color: #9873E7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #9873E7 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

152, 115, 231

Red: 152 / Green: 115 / Blue: 231

HSL

259°, 71%, 68%

Hue: 259° / Saturation: 71% / Lightness: 68%

CMYK

34%, 50%, 0%, 9%

Cyan: 34% / Magenta: 50% / Yellow: 0% / Key: 9%

What color is #9873E7?

#9873E7 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9873E7 to RGB:

rgb(152, 115, 231)HEX to RGB Converter →

HEX to HSL

Convert #9873E7 to HSL:

hsl(259, 71%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #9873E7 to CMYK:

cmyk(34%, 50%, 0%, 9%)Color Converter →

Color Meaning and Usage

#9873E7 is a bold purple color with RGB values of 152, 115, 231 and HSL of 259°, 71%, 68%. This blue-purple hue evokes creativity and luxury, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9873E7 is #C3E773, creating high-contrast pairings. For softer combinations, try analogous colors like #7389E7.

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

Contrast with #9873E7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9873E7?

#9873E7 is a bold purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #9873E7?

#9873E7 in RGB is (152, 115, 231) - 152 red, 115 green, and 231 blue.

How to use #9873E7 in CSS?

Use #9873E7 directly in your CSS properties like color or background-color.

What colors go well with #9873E7?

#C3E773 (complementary), #7389E7 (analogous), and #6832DC (lighter shade) work well with #9873E7.