#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.
Shades
color: #B798C5; background-color: #B798C5; border-color: #B798C5; box-shadow: 0 0 10px #B798C5; border: 2px solid #B798C5;
bg-[#B798C5] text-[#B798C5] border-[#B798C5] shadow-[0_0_10px_B798C5]
Generate Gradient
background: linear-gradient(90deg, #B798C5, #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 #B798C5 in the color wheel.
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
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.
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.