#B381DA Color Information

Hex color code: #B381DA

#B381DA is a subtle purple color. In RGB it is (179, 129, 218), and in HSL it is (274°, 55%, 68%). It is popular in mobile app design.

Try:
Color NameMedium Purple
HEX
#B381DA
RGB
179, 129, 218
HSL
274°, 55%, 68%
CMYK
18%, 41%, 0%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B381DA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

179, 129, 218

Red: 179 / Green: 129 / Blue: 218

HSL

274°, 55%, 68%

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

CMYK

18%, 41%, 0%, 15%

Cyan: 18% / Magenta: 41% / Yellow: 0% / Key: 15%

What color is #B381DA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B381DA to RGB:

rgb(179, 129, 218)HEX to RGB Converter →

HEX to HSL

Convert #B381DA to HSL:

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

HEX to CMYK

Convert #B381DA to CMYK:

cmyk(18%, 41%, 0%, 15%)Color Converter →

Color Meaning and Usage

A muted purple tone, #B381DA has RGB (179, 129, 218) and HSL (274°, 55%, 68%). Known for evoking romance and playfulness, this magenta-red hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B381DA is #A7DA81, creating high-contrast pairings. For softer combinations, try analogous colors like #8781DA.

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

Contrast with #B381DA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B381DA?

#B381DA is a muted purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B381DA?

#B381DA in RGB is (179, 129, 218) - 179 red, 129 green, and 218 blue.

How to use #B381DA in CSS?

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

What colors go well with #B381DA?

#A7DA81 (complementary), #8781DA (analogous), and #9045C9 (lighter shade) work well with #B381DA.