#872DC8 Color Information

Hex color code: #872DC8

#872DC8 is a neutral purple color. In RGB it is (135, 45, 200), and in HSL it is (275°, 63%, 48%). It is frequently seen in web interfaces.

Try:
Color NameDark Orchid
HEX
#872DC8
RGB
135, 45, 200
HSL
275°, 63%, 48%
CMYK
32%, 77%, 0%, 22%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #872DC8; 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 #872DC8; background-color: #872DC815; }

Alert / Toast

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

Link / Accent

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

a { color: #872DC8; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

135, 45, 200

Red: 135 / Green: 45 / Blue: 200

HSL

275°, 63%, 48%

Hue: 275° / Saturation: 63% / Lightness: 48%

CMYK

32%, 77%, 0%, 22%

Cyan: 32% / Magenta: 77% / Yellow: 0% / Key: 22%

What color is #872DC8?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #872DC8 to RGB:

rgb(135, 45, 200)HEX to RGB Converter →

HEX to HSL

Convert #872DC8 to HSL:

hsl(275, 63%, 48%)RGB to HSL Converter →

HEX to CMYK

Convert #872DC8 to CMYK:

cmyk(32%, 77%, 0%, 22%)Color Converter →

Color Meaning and Usage

#872DC8 is a muted purple color with RGB values of 135, 45, 200 and HSL of 275°, 63%, 48%. This magenta-red hue evokes romance and playfulness, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #872DC8 is #6EC82D, creating high-contrast pairings. For softer combinations, try analogous colors like #3A2DC8.

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

Contrast with #872DC8

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #872DC8?

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

What is the RGB value of #872DC8?

#872DC8 in RGB is (135, 45, 200) - 135 red, 45 green, and 200 blue.

How to use #872DC8 in CSS?

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

What colors go well with #872DC8?

#6EC82D (complementary), #3A2DC8 (analogous), and #5D1F89 (lighter shade) work well with #872DC8.