#B787D9 Color Information

Hex color code: #B787D9

A understated purple shade, #B787D9 appears as (183, 135, 217) in RGB and (275°, 52%, 69%) in HSL. It is popular in mobile app design.

Try:
Color NameMedium Purple
HEX
#B787D9
RGB
183, 135, 217
HSL
275°, 52%, 69%
CMYK
16%, 38%, 0%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B787D9; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

183, 135, 217

Red: 183 / Green: 135 / Blue: 217

HSL

275°, 52%, 69%

Hue: 275° / Saturation: 52% / Lightness: 69%

CMYK

16%, 38%, 0%, 15%

Cyan: 16% / Magenta: 38% / Yellow: 0% / Key: 15%

What color is #B787D9?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B787D9 to RGB:

rgb(183, 135, 217)HEX to RGB Converter →

HEX to HSL

Convert #B787D9 to HSL:

hsl(275, 52%, 69%)RGB to HSL Converter →

HEX to CMYK

Convert #B787D9 to CMYK:

cmyk(16%, 38%, 0%, 15%)Color Converter →

Color Meaning and Usage

A subtle purple tone, #B787D9 has RGB (183, 135, 217) and HSL (275°, 52%, 69%). 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 #B787D9 is #A9D987, creating high-contrast pairings. For softer combinations, try analogous colors like #8E87D9.

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

Contrast with #B787D9

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B787D9?

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

What is the RGB value of #B787D9?

#B787D9 in RGB is (183, 135, 217) - 183 red, 135 green, and 217 blue.

How to use #B787D9 in CSS?

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

What colors go well with #B787D9?

#A9D987 (complementary), #8E87D9 (analogous), and #944DC7 (lighter shade) work well with #B787D9.