#B17FDD Color Information

Hex color code: #B17FDD

The hex color #B17FDD is a understated purple with RGB values of (177, 127, 221) and HSL of (272°, 58%, 68%). It is widely used in graphic design.

Try:
Color NameMedium Purple
HEX
#B17FDD
RGB
177, 127, 221
HSL
272°, 58%, 68%
CMYK
20%, 43%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B17FDD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

177, 127, 221

Red: 177 / Green: 127 / Blue: 221

HSL

272°, 58%, 68%

Hue: 272° / Saturation: 58% / Lightness: 68%

CMYK

20%, 43%, 0%, 13%

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

What color is #B17FDD?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B17FDD to RGB:

rgb(177, 127, 221)HEX to RGB Converter →

HEX to HSL

Convert #B17FDD to HSL:

hsl(272, 58%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #B17FDD to CMYK:

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

Color Meaning and Usage

A subtle purple tone, #B17FDD has RGB (177, 127, 221) and HSL (272°, 58%, 68%). 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 #B17FDD is #AADD7E, creating high-contrast pairings. For softer combinations, try analogous colors like #817EDD.

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

Contrast with #B17FDD

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B17FDD?

#B17FDD is a subtle purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B17FDD?

#B17FDD in RGB is (177, 127, 221) - 177 red, 127 green, and 221 blue.

How to use #B17FDD in CSS?

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

What colors go well with #B17FDD?

#AADD7E (complementary), #817EDD (analogous), and #8C42CD (lighter shade) work well with #B17FDD.