#B231DD Color Information

Hex color code: #B231DD

#B231DD is a vivid magenta color. In RGB it is (178, 49, 221), and in HSL it is (285°, 72%, 53%). It is commonly used in modern UI design.

Try:
Color NameDark Orchid
HEX
#B231DD
RGB
178, 49, 221
HSL
285°, 72%, 53%
CMYK
19%, 78%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #B231DD; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #B231DD; color: #FFFFFF; }

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 #B231DD; background-color: #B231DD15; }

Alert / Toast

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

Link / Accent

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

a { color: #B231DD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 49, 221

Red: 178 / Green: 49 / Blue: 221

HSL

285°, 72%, 53%

Hue: 285° / Saturation: 72% / Lightness: 53%

CMYK

19%, 78%, 0%, 13%

Cyan: 19% / Magenta: 78% / Yellow: 0% / Key: 13%

What color is #B231DD?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B231DD to RGB:

rgb(178, 49, 221)HEX to RGB Converter →

HEX to HSL

Convert #B231DD to HSL:

hsl(285, 72%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #B231DD to CMYK:

cmyk(19%, 78%, 0%, 13%)Color Converter →

Color Meaning and Usage

#B231DD is a vivid magenta color with RGB values of 178, 49, 221 and HSL of 285°, 72%, 53%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B231DD is #5CDD31, creating high-contrast pairings. For softer combinations, try analogous colors like #5C31DD.

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

Contrast with #B231DD

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

Contrast Ratio: 4.38:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B231DD?

#B231DD is a vivid magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B231DD?

#B231DD in RGB is (178, 49, 221) - 178 red, 49 green, and 221 blue.

How to use #B231DD in CSS?

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

What colors go well with #B231DD?

#5CDD31 (complementary), #5C31DD (analogous), and #841BA7 (lighter shade) work well with #B231DD.