#B98EC7 Color Information

Hex color code: #B98EC7

A gentle magenta shade, #B98EC7 appears as (185, 142, 199) in RGB and (285°, 34%, 67%) in HSL. It is frequently seen in web interfaces.

Try:
Color NamePlum
HEX
#B98EC7
RGB
185, 142, 199
HSL
285°, 34%, 67%
CMYK
7%, 29%, 0%, 22%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B98EC7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

185, 142, 199

Red: 185 / Green: 142 / Blue: 199

HSL

285°, 34%, 67%

Hue: 285° / Saturation: 34% / Lightness: 67%

CMYK

7%, 29%, 0%, 22%

Cyan: 7% / Magenta: 29% / Yellow: 0% / Key: 22%

What color is #B98EC7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B98EC7 to RGB:

rgb(185, 142, 199)HEX to RGB Converter →

HEX to HSL

Convert #B98EC7 to HSL:

hsl(285, 34%, 67%)RGB to HSL Converter →

HEX to CMYK

Convert #B98EC7 to CMYK:

cmyk(7%, 29%, 0%, 22%)Color Converter →

Color Meaning and Usage

A pastel magenta tone, #B98EC7 has RGB (185, 142, 199) and HSL (285°, 34%, 67%). Known for evoking romance and playfulness, this magenta-red hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B98EC7 is #9DC78E, creating high-contrast pairings. For softer combinations, try analogous colors like #9D8EC7.

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

Contrast with #B98EC7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B98EC7?

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

What is the RGB value of #B98EC7?

#B98EC7 in RGB is (185, 142, 199) - 185 red, 142 green, and 199 blue.

How to use #B98EC7 in CSS?

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

What colors go well with #B98EC7?

#9DC78E (complementary), #9D8EC7 (analogous), and #995BAE (lighter shade) work well with #B98EC7.