#B97ECD Color Information

Hex color code: #B97ECD

#B97ECD is a soft magenta color. In RGB it is (185, 126, 205), and in HSL it is (285°, 44%, 65%). It is widely used in graphic design.

Try:
Color NameMedium Orchid
HEX
#B97ECD
RGB
185, 126, 205
HSL
285°, 44%, 65%
CMYK
10%, 39%, 0%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B97ECD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

185, 126, 205

Red: 185 / Green: 126 / Blue: 205

HSL

285°, 44%, 65%

Hue: 285° / Saturation: 44% / Lightness: 65%

CMYK

10%, 39%, 0%, 20%

Cyan: 10% / Magenta: 39% / Yellow: 0% / Key: 20%

What color is #B97ECD?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B97ECD to RGB:

rgb(185, 126, 205)HEX to RGB Converter →

HEX to HSL

Convert #B97ECD to HSL:

hsl(285, 44%, 65%)RGB to HSL Converter →

HEX to CMYK

Convert #B97ECD to CMYK:

cmyk(10%, 39%, 0%, 20%)Color Converter →

Color Meaning and Usage

#B97ECD is a pastel magenta color with RGB values of 185, 126, 205 and HSL of 285°, 44%, 65%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B97ECD is #92CD7E, creating high-contrast pairings. For softer combinations, try analogous colors like #927ECD.

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

Contrast with #B97ECD

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B97ECD?

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

What is the RGB value of #B97ECD?

#B97ECD in RGB is (185, 126, 205) - 185 red, 126 green, and 205 blue.

How to use #B97ECD in CSS?

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

What colors go well with #B97ECD?

#92CD7E (complementary), #927ECD (analogous), and #9C47B8 (lighter shade) work well with #B97ECD.