#B28AC1 Color Information

Hex color code: #B28AC1

A soft purple shade, #B28AC1 appears as (178, 138, 193) in RGB and (284°, 31%, 65%) in HSL. It is typically applied in digital products.

Try:
Color NameMedium Purple
HEX
#B28AC1
RGB
178, 138, 193
HSL
284°, 31%, 65%
CMYK
8%, 28%, 0%, 24%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B28AC1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 138, 193

Red: 178 / Green: 138 / Blue: 193

HSL

284°, 31%, 65%

Hue: 284° / Saturation: 31% / Lightness: 65%

CMYK

8%, 28%, 0%, 24%

Cyan: 8% / Magenta: 28% / Yellow: 0% / Key: 24%

What color is #B28AC1?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B28AC1 to RGB:

rgb(178, 138, 193)HEX to RGB Converter →

HEX to HSL

Convert #B28AC1 to HSL:

hsl(284, 31%, 65%)RGB to HSL Converter →

HEX to CMYK

Convert #B28AC1 to CMYK:

cmyk(8%, 28%, 0%, 24%)Color Converter →

Color Meaning and Usage

#B28AC1 is a gentle purple color with RGB values of 178, 138, 193 and HSL of 284°, 31%, 65%. 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 #B28AC1 is #99C18A, creating high-contrast pairings. For softer combinations, try analogous colors like #978AC1.

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

Contrast with #B28AC1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B28AC1?

#B28AC1 is a gentle purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B28AC1?

#B28AC1 in RGB is (178, 138, 193) - 178 red, 138 green, and 193 blue.

How to use #B28AC1 in CSS?

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

What colors go well with #B28AC1?

#99C18A (complementary), #978AC1 (analogous), and #9258A7 (lighter shade) work well with #B28AC1.