#B98EDA Color Information

Hex color code: #B98EDA

A understated purple shade, #B98EDA appears as (185, 142, 218) in RGB and (274°, 51%, 71%) in HSL. It is widely used in graphic design.

Try:
Color NamePlum
HEX
#B98EDA
RGB
185, 142, 218
HSL
274°, 51%, 71%
CMYK
15%, 35%, 0%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B98EDA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

185, 142, 218

Red: 185 / Green: 142 / Blue: 218

HSL

274°, 51%, 71%

Hue: 274° / Saturation: 51% / Lightness: 71%

CMYK

15%, 35%, 0%, 15%

Cyan: 15% / Magenta: 35% / Yellow: 0% / Key: 15%

What color is #B98EDA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B98EDA to RGB:

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

HEX to HSL

Convert #B98EDA to HSL:

hsl(274, 51%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #B98EDA to CMYK:

cmyk(15%, 35%, 0%, 15%)Color Converter →

Color Meaning and Usage

A neutral purple tone, #B98EDA has RGB (185, 142, 218) and HSL (274°, 51%, 71%). Known for evoking romance and playfulness, this magenta-red hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B98EDA is #B0DB8F, creating high-contrast pairings. For softer combinations, try analogous colors like #948FDB.

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

Contrast with #B98EDA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B98EDA?

#B98EDA is a neutral purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B98EDA?

#B98EDA in RGB is (185, 142, 218) - 185 red, 142 green, and 218 blue.

How to use #B98EDA in CSS?

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

What colors go well with #B98EDA?

#B0DB8F (complementary), #948FDB (analogous), and #9656C8 (lighter shade) work well with #B98EDA.