#B254B7 Color Information

Hex color code: #B254B7

The hex color #B254B7 is a pastel magenta with RGB values of (178, 84, 183) and HSL of (297°, 41%, 52%). It is commonly used in modern UI design.

Try:
Color NameMedium Orchid
HEX
#B254B7
RGB
178, 84, 183
HSL
297°, 41%, 52%
CMYK
3%, 54%, 0%, 28%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B254B7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 84, 183

Red: 178 / Green: 84 / Blue: 183

HSL

297°, 41%, 52%

Hue: 297° / Saturation: 41% / Lightness: 52%

CMYK

3%, 54%, 0%, 28%

Cyan: 3% / Magenta: 54% / Yellow: 0% / Key: 28%

What color is #B254B7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B254B7 to RGB:

rgb(178, 84, 183)HEX to RGB Converter →

HEX to HSL

Convert #B254B7 to HSL:

hsl(297, 41%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #B254B7 to CMYK:

cmyk(3%, 54%, 0%, 28%)Color Converter →

Color Meaning and Usage

A pastel magenta tone, #B254B7 has RGB (178, 84, 183) and HSL (297°, 41%, 52%). Known for evoking romance and playfulness, this magenta-red hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B254B7 is #57B752, creating high-contrast pairings. For softer combinations, try analogous colors like #8052B7.

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

Contrast with #B254B7

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

Contrast Ratio: 4.84:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B254B7?

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

What is the RGB value of #B254B7?

#B254B7 in RGB is (178, 84, 183) - 178 red, 84 green, and 183 blue.

How to use #B254B7 in CSS?

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

What colors go well with #B254B7?

#57B752 (complementary), #8052B7 (analogous), and #813885 (lighter shade) work well with #B254B7.