#B28FCC Color Information

Hex color code: #B28FCC

#B28FCC is a subtle purple color. In RGB it is (178, 143, 204), and in HSL it is (274°, 37%, 68%). It is popular in mobile app design.

Try:
Color NameMedium Purple
HEX
#B28FCC
RGB
178, 143, 204
HSL
274°, 37%, 68%
CMYK
13%, 30%, 0%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B28FCC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 143, 204

Red: 178 / Green: 143 / Blue: 204

HSL

274°, 37%, 68%

Hue: 274° / Saturation: 37% / Lightness: 68%

CMYK

13%, 30%, 0%, 20%

Cyan: 13% / Magenta: 30% / Yellow: 0% / Key: 20%

What color is #B28FCC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B28FCC to RGB:

rgb(178, 143, 204)HEX to RGB Converter →

HEX to HSL

Convert #B28FCC to HSL:

hsl(274, 37%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #B28FCC to CMYK:

cmyk(13%, 30%, 0%, 20%)Color Converter →

Color Meaning and Usage

#B28FCC is a pastel purple color with RGB values of 178, 143, 204 and HSL of 274°, 37%, 68%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B28FCC is #A9CC8F, creating high-contrast pairings. For softer combinations, try analogous colors like #938FCC.

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

Contrast with #B28FCC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B28FCC?

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

What is the RGB value of #B28FCC?

#B28FCC in RGB is (178, 143, 204) - 178 red, 143 green, and 204 blue.

How to use #B28FCC in CSS?

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

What colors go well with #B28FCC?

#A9CC8F (complementary), #938FCC (analogous), and #8D5BB3 (lighter shade) work well with #B28FCC.