#B797BF Color Information

Hex color code: #B797BF

#B797BF is a soft magenta color. In RGB it is (183, 151, 191), and in HSL it is (288°, 24%, 67%). It is typically applied in digital products.

Try:
Color NameSilver
HEX
#B797BF
RGB
183, 151, 191
HSL
288°, 24%, 67%
CMYK
4%, 21%, 0%, 25%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B797BF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

183, 151, 191

Red: 183 / Green: 151 / Blue: 191

HSL

288°, 24%, 67%

Hue: 288° / Saturation: 24% / Lightness: 67%

CMYK

4%, 21%, 0%, 25%

Cyan: 4% / Magenta: 21% / Yellow: 0% / Key: 25%

What color is #B797BF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B797BF to RGB:

rgb(183, 151, 191)HEX to RGB Converter →

HEX to HSL

Convert #B797BF to HSL:

hsl(288, 24%, 67%)RGB to HSL Converter →

HEX to CMYK

Convert #B797BF to CMYK:

cmyk(4%, 21%, 0%, 25%)Color Converter →

Color Meaning and Usage

A delicate magenta tone, #B797BF has RGB (183, 151, 191) and HSL (288°, 24%, 67%). Known for evoking romance and playfulness, this magenta-red hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B797BF is #9FBF97, creating high-contrast pairings. For softer combinations, try analogous colors like #A397BF.

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

Contrast with #B797BF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B797BF?

#B797BF is a delicate magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B797BF?

#B797BF in RGB is (183, 151, 191) - 183 red, 151 green, and 191 blue.

How to use #B797BF in CSS?

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

What colors go well with #B797BF?

#9FBF97 (complementary), #A397BF (analogous), and #9667A2 (lighter shade) work well with #B797BF.