#B798C5 Color Information

Hex color code: #B798C5

A pastel purple shade, #B798C5 appears as (183, 152, 197) in RGB and (281°, 28%, 68%) in HSL. It is commonly used in modern UI design.

Try:
Color NameSilver
HEX
#B798C5
RGB
183, 152, 197
HSL
281°, 28%, 68%
CMYK
7%, 23%, 0%, 23%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B798C5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

183, 152, 197

Red: 183 / Green: 152 / Blue: 197

HSL

281°, 28%, 68%

Hue: 281° / Saturation: 28% / Lightness: 68%

CMYK

7%, 23%, 0%, 23%

Cyan: 7% / Magenta: 23% / Yellow: 0% / Key: 23%

What color is #B798C5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B798C5 to RGB:

rgb(183, 152, 197)HEX to RGB Converter →

HEX to HSL

Convert #B798C5 to HSL:

hsl(281, 28%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #B798C5 to CMYK:

cmyk(7%, 23%, 0%, 23%)Color Converter →

Color Meaning and Usage

#B798C5 is a soft purple color with RGB values of 183, 152, 197 and HSL of 281°, 28%, 68%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B798C5 is #A5C497, creating high-contrast pairings. For softer combinations, try analogous colors like #9F97C4.

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

Contrast with #B798C5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B798C5?

#B798C5 is a soft purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B798C5?

#B798C5 in RGB is (183, 152, 197) - 183 red, 152 green, and 197 blue.

How to use #B798C5 in CSS?

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

What colors go well with #B798C5?

#A5C497 (complementary), #9F97C4 (analogous), and #9366A9 (lighter shade) work well with #B798C5.