#B798B5 Color Information

Hex color code: #B798B5

A understated magenta shade, #B798B5 appears as (183, 152, 181) in RGB and (304°, 18%, 66%) in HSL. It is popular in mobile app design.

Try:
Color NameRosy Brown
HEX
#B798B5
RGB
183, 152, 181
HSL
304°, 18%, 66%
CMYK
0%, 17%, 1%, 28%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B798B5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

183, 152, 181

Red: 183 / Green: 152 / Blue: 181

HSL

304°, 18%, 66%

Hue: 304° / Saturation: 18% / Lightness: 66%

CMYK

0%, 17%, 1%, 28%

Cyan: 0% / Magenta: 17% / Yellow: 1% / Key: 28%

What color is #B798B5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B798B5 to RGB:

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

HEX to HSL

Convert #B798B5 to HSL:

hsl(304, 18%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #B798B5 to CMYK:

cmyk(0%, 17%, 1%, 28%)Color Converter →

Color Meaning and Usage

A subtle magenta tone, #B798B5 has RGB (183, 152, 181) and HSL (304°, 18%, 66%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B798B5 is #99B89B, creating high-contrast pairings. For softer combinations, try analogous colors like #AA99B8.

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

Contrast with #B798B5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B798B5?

#B798B5 is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B798B5?

#B798B5 in RGB is (183, 152, 181) - 183 red, 152 green, and 181 blue.

How to use #B798B5 in CSS?

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

What colors go well with #B798B5?

#99B89B (complementary), #AA99B8 (analogous), and #996C96 (lighter shade) work well with #B798B5.