#B28FFF Color Information

Hex color code: #B28FFF

A airy purple shade, #B28FFF appears as (178, 143, 255) in RGB and (259°, 100%, 78%) in HSL. It is widely used in graphic design.

Try:
Color NameMedium Purple
HEX
#B28FFF
RGB
178, 143, 255
HSL
259°, 100%, 78%
CMYK
30%, 44%, 0%, 0%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B28FFF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 143, 255

Red: 178 / Green: 143 / Blue: 255

HSL

259°, 100%, 78%

Hue: 259° / Saturation: 100% / Lightness: 78%

CMYK

30%, 44%, 0%, 0%

Cyan: 30% / Magenta: 44% / Yellow: 0% / Key: 0%

What color is #B28FFF?

#B28FFF is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B28FFF to RGB:

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

HEX to HSL

Convert #B28FFF to HSL:

hsl(259, 100%, 78%)RGB to HSL Converter →

HEX to CMYK

Convert #B28FFF to CMYK:

cmyk(30%, 44%, 0%, 0%)Color Converter →

Color Meaning and Usage

#B28FFF is a delicate purple color with RGB values of 178, 143, 255 and HSL of 259°, 100%, 78%. This highly saturated hue evokes energy and excitement, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B28FFF is #DBFF8F, creating high-contrast pairings. For softer combinations, try analogous colors like #8FA3FF.

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

Contrast with #B28FFF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B28FFF?

#B28FFF is a delicate purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #B28FFF?

#B28FFF in RGB is (178, 143, 255) - 178 red, 143 green, and 255 blue.

How to use #B28FFF in CSS?

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

What colors go well with #B28FFF?

#DBFF8F (complementary), #8FA3FF (analogous), and #7E42FF (lighter shade) work well with #B28FFF.