#C87EC8 Color Information

Hex color code: #C87EC8

The hex color #C87EC8 is a subtle magenta with RGB values of (200, 126, 200) and HSL of (300°, 40%, 64%). It is often used for branding and logos.

Try:
Color NameMedium Orchid
HEX
#C87EC8
RGB
200, 126, 200
HSL
300°, 40%, 64%
CMYK
0%, 37%, 0%, 22%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #C87EC8; 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 #C87EC8; background-color: #C87EC815; }

Alert / Toast

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

Link / Accent

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

a { color: #C87EC8; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #C87EC8 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

200, 126, 200

Red: 200 / Green: 126 / Blue: 200

HSL

300°, 40%, 64%

Hue: 300° / Saturation: 40% / Lightness: 64%

CMYK

0%, 37%, 0%, 22%

Cyan: 0% / Magenta: 37% / Yellow: 0% / Key: 22%

What color is #C87EC8?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C87EC8 to RGB:

rgb(200, 126, 200)HEX to RGB Converter →

HEX to HSL

Convert #C87EC8 to HSL:

hsl(300, 40%, 64%)RGB to HSL Converter →

HEX to CMYK

Convert #C87EC8 to CMYK:

cmyk(0%, 37%, 0%, 22%)Color Converter →

Color Meaning and Usage

A pastel magenta tone, #C87EC8 has RGB (200, 126, 200) and HSL (300°, 40%, 64%). Known for evoking romance and playfulness, this magenta-red hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C87EC8 is #7EC87E, creating high-contrast pairings. For softer combinations, try analogous colors like #A37EC8.

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

Contrast with #C87EC8

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

Contrast Ratio: 7.27:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C87EC8?

#C87EC8 is a pastel magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #C87EC8?

#C87EC8 in RGB is (200, 126, 200) - 200 red, 126 green, and 200 blue.

How to use #C87EC8 in CSS?

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

What colors go well with #C87EC8?

#7EC87E (complementary), #A37EC8 (analogous), and #AF4BAF (lighter shade) work well with #C87EC8.