#B298C5 Color Information

Hex color code: #B298C5

The hex color #B298C5 is a gentle purple with RGB values of (178, 152, 197) and HSL of (275°, 28%, 68%). It is often used for branding and logos.

Try:
Color NameSilver
HEX
#B298C5
RGB
178, 152, 197
HSL
275°, 28%, 68%
CMYK
10%, 23%, 0%, 23%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B298C5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 152, 197

Red: 178 / Green: 152 / Blue: 197

HSL

275°, 28%, 68%

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

CMYK

10%, 23%, 0%, 23%

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

What color is #B298C5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B298C5 to RGB:

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

HEX to HSL

Convert #B298C5 to HSL:

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

HEX to CMYK

Convert #B298C5 to CMYK:

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

Color Meaning and Usage

#B298C5 is a subtle purple color with RGB values of 178, 152, 197 and HSL of 275°, 28%, 68%. This magenta-red hue evokes romance and playfulness, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B298C5 is #AAC497, creating high-contrast pairings. For softer combinations, try analogous colors like #9A97C4.

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

Contrast with #B298C5

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 #B298C5?

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

What is the RGB value of #B298C5?

#B298C5 in RGB is (178, 152, 197) - 178 red, 152 green, and 197 blue.

How to use #B298C5 in CSS?

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

What colors go well with #B298C5?

#AAC497 (complementary), #9A97C4 (analogous), and #8D66A9 (lighter shade) work well with #B298C5.