#B398D1 Color Information

Hex color code: #B398D1

A soft purple shade, #B398D1 appears as (179, 152, 209) in RGB and (268°, 38%, 71%) in HSL. It is typically applied in digital products.

Try:
Color NamePlum
HEX
#B398D1
RGB
179, 152, 209
HSL
268°, 38%, 71%
CMYK
14%, 27%, 0%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B398D1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

179, 152, 209

Red: 179 / Green: 152 / Blue: 209

HSL

268°, 38%, 71%

Hue: 268° / Saturation: 38% / Lightness: 71%

CMYK

14%, 27%, 0%, 18%

Cyan: 14% / Magenta: 27% / Yellow: 0% / Key: 18%

What color is #B398D1?

#B398D1 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B398D1 to RGB:

rgb(179, 152, 209)HEX to RGB Converter →

HEX to HSL

Convert #B398D1 to HSL:

hsl(268, 38%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #B398D1 to CMYK:

cmyk(14%, 27%, 0%, 18%)Color Converter →

Color Meaning and Usage

A pastel purple tone, #B398D1 has RGB (179, 152, 209) and HSL (268°, 38%, 71%). Known for evoking creativity and luxury, this blue-purple hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B398D1 is #B7D199, creating high-contrast pairings. For softer combinations, try analogous colors like #999BD1.

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

Contrast with #B398D1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B398D1?

#B398D1 is a pastel purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #B398D1?

#B398D1 in RGB is (179, 152, 209) - 179 red, 152 green, and 209 blue.

How to use #B398D1 in CSS?

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

What colors go well with #B398D1?

#B7D199 (complementary), #999BD1 (analogous), and #8C64B9 (lighter shade) work well with #B398D1.