#872BC5 Color Information

Hex color code: #872BC5

#872BC5 is a muted purple color. In RGB it is (135, 43, 197), and in HSL it is (276°, 64%, 47%). It is typically applied in digital products.

Try:
Color NameDark Orchid
HEX
#872BC5
RGB
135, 43, 197
HSL
276°, 64%, 47%
CMYK
31%, 78%, 0%, 23%

Shades

CSS Usage
color: #872BC5;
background-color: #872BC5;
border-color: #872BC5;
box-shadow: 0 0 10px #872BC5;
border: 2px solid #872BC5;
Tailwind Usage
bg-[#872BC5]
text-[#872BC5]
border-[#872BC5]
shadow-[0_0_10px_872BC5]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #872BC5, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #872BC5; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #872BC5; color: #FFFFFF; }

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 #872BC5; background-color: #872BC515; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #872BC520; border-left: 4px solid #872BC5; }

Link / Accent

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

a { color: #872BC5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #872BC5 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

135, 43, 197

Red: 135 / Green: 43 / Blue: 197

HSL

276°, 64%, 47%

Hue: 276° / Saturation: 64% / Lightness: 47%

CMYK

31%, 78%, 0%, 23%

Cyan: 31% / Magenta: 78% / Yellow: 0% / Key: 23%

What color is #872BC5?

#872BC5 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #872BC5 to RGB:

rgb(135, 43, 197)HEX to RGB Converter →

HEX to HSL

Convert #872BC5 to HSL:

hsl(276, 64%, 47%)RGB to HSL Converter →

HEX to CMYK

Convert #872BC5 to CMYK:

cmyk(31%, 78%, 0%, 23%)Color Converter →

Color Meaning and Usage

A muted purple tone, #872BC5 has RGB (135, 43, 197) and HSL (276°, 64%, 47%). Known for evoking romance and playfulness, this magenta-red hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #872BC5 is #69C52B, creating high-contrast pairings. For softer combinations, try analogous colors like #3A2BC5.

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

Contrast with #872BC5

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

Contrast Ratio: 3.18:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #872BC5?

#872BC5 is a muted purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #872BC5?

#872BC5 in RGB is (135, 43, 197) - 135 red, 43 green, and 197 blue.

How to use #872BC5 in CSS?

Use #872BC5 directly in your CSS properties like color or background-color.

What colors go well with #872BC5?

#69C52B (complementary), #3A2BC5 (analogous), and #5C1D86 (lighter shade) work well with #872BC5.