#B172CB Color Information

Hex color code: #B172CB

The hex color #B172CB is a subtle purple with RGB values of (177, 114, 203) and HSL of (282°, 46%, 62%). It is popular in mobile app design.

Try:
Color NameMedium Orchid
HEX
#B172CB
RGB
177, 114, 203
HSL
282°, 46%, 62%
CMYK
13%, 44%, 0%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B172CB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

177, 114, 203

Red: 177 / Green: 114 / Blue: 203

HSL

282°, 46%, 62%

Hue: 282° / Saturation: 46% / Lightness: 62%

CMYK

13%, 44%, 0%, 20%

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

What color is #B172CB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B172CB to RGB:

rgb(177, 114, 203)HEX to RGB Converter →

HEX to HSL

Convert #B172CB to HSL:

hsl(282, 46%, 62%)RGB to HSL Converter →

HEX to CMYK

Convert #B172CB to CMYK:

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

Color Meaning and Usage

A subtle purple tone, #B172CB has RGB (177, 114, 203) and HSL (282°, 46%, 62%). Known for evoking romance and playfulness, this magenta-red hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B172CB is #8CCB72, creating high-contrast pairings. For softer combinations, try analogous colors like #8372CB.

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

Contrast with #B172CB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B172CB?

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

What is the RGB value of #B172CB?

#B172CB in RGB is (177, 114, 203) - 177 red, 114 green, and 203 blue.

How to use #B172CB in CSS?

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

What colors go well with #B172CB?

#8CCB72 (complementary), #8372CB (analogous), and #8E41AF (lighter shade) work well with #B172CB.