#B97EB1 Color Information
Hex color code: #B97EB1
#B97EB1 is a pastel magenta color. In RGB it is (185, 126, 177), and in HSL it is (308°, 30%, 61%). It is commonly used in modern UI design.
Shades
color: #B97EB1; background-color: #B97EB1; border-color: #B97EB1; box-shadow: 0 0 10px #B97EB1; border: 2px solid #B97EB1;
bg-[#B97EB1] text-[#B97EB1] border-[#B97EB1] shadow-[0_0_10px_B97EB1]
Generate Gradient
background: linear-gradient(90deg, #B97EB1, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #B97EB1 in the color wheel.
RGB, HSL and CMYK Values
RGB
185, 126, 177
Red: 185 / Green: 126 / Blue: 177
HSL
308°, 30%, 61%
Hue: 308° / Saturation: 30% / Lightness: 61%
CMYK
0%, 32%, 4%, 27%
Cyan: 0% / Magenta: 32% / Yellow: 4% / Key: 27%
What color is #B97EB1?
#B97EB1 is a magenta-red hue associated with romance and playfulness.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#B97EB1 is a subtle magenta color with RGB values of 185, 126, 177 and HSL of 308°, 30%, 61%. This magenta-red hue evokes romance and playfulness, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #B97EB1 is #7EB986, creating high-contrast pairings. For softer combinations, try analogous colors like #A47EB9.
Use #B97EB1 in CSS: color: #B97EB1 or background-color: #B97EB1. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #B97EB1
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #B97EB1?
#B97EB1 is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.
What is the RGB value of #B97EB1?
#B97EB1 in RGB is (185, 126, 177) - 185 red, 126 green, and 177 blue.
How to use #B97EB1 in CSS?
Use #B97EB1 directly in your CSS properties like color or background-color.