#B28CC5 Color Information

Hex color code: #B28CC5

A pastel purple shade, #B28CC5 appears as (178, 140, 197) in RGB and (280°, 33%, 66%) in HSL. It is commonly used in modern UI design.

Try:
Color NameMedium Purple
HEX
#B28CC5
RGB
178, 140, 197
HSL
280°, 33%, 66%
CMYK
10%, 29%, 0%, 23%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B28CC5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 140, 197

Red: 178 / Green: 140 / Blue: 197

HSL

280°, 33%, 66%

Hue: 280° / Saturation: 33% / Lightness: 66%

CMYK

10%, 29%, 0%, 23%

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

What color is #B28CC5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B28CC5 to RGB:

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

HEX to HSL

Convert #B28CC5 to HSL:

hsl(280, 33%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #B28CC5 to CMYK:

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

Color Meaning and Usage

A pastel purple tone, #B28CC5 has RGB (178, 140, 197) and HSL (280°, 33%, 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 #B28CC5 is #9FC58C, creating high-contrast pairings. For softer combinations, try analogous colors like #958CC5.

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

Contrast with #B28CC5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B28CC5?

#B28CC5 is a pastel purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B28CC5?

#B28CC5 in RGB is (178, 140, 197) - 178 red, 140 green, and 197 blue.

How to use #B28CC5 in CSS?

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

What colors go well with #B28CC5?

#9FC58C (complementary), #958CC5 (analogous), and #9059AB (lighter shade) work well with #B28CC5.