#B538DC Color Information

Hex color code: #B538DC

The hex color #B538DC is a balanced magenta with RGB values of (181, 56, 220) and HSL of (286°, 70%, 54%). It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#B538DC
RGB
181, 56, 220
HSL
286°, 70%, 54%
CMYK
18%, 75%, 0%, 14%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B538DC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

181, 56, 220

Red: 181 / Green: 56 / Blue: 220

HSL

286°, 70%, 54%

Hue: 286° / Saturation: 70% / Lightness: 54%

CMYK

18%, 75%, 0%, 14%

Cyan: 18% / Magenta: 75% / Yellow: 0% / Key: 14%

What color is #B538DC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B538DC to RGB:

rgb(181, 56, 220)HEX to RGB Converter →

HEX to HSL

Convert #B538DC to HSL:

hsl(286, 70%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #B538DC to CMYK:

cmyk(18%, 75%, 0%, 14%)Color Converter →

Color Meaning and Usage

#B538DC is a subtle magenta color with RGB values of 181, 56, 220 and HSL of 286°, 70%, 54%. This magenta-red hue evokes romance and playfulness, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B538DC is #5EDC38, creating high-contrast pairings. For softer combinations, try analogous colors like #6338DC.

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

Contrast with #B538DC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B538DC?

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

What is the RGB value of #B538DC?

#B538DC in RGB is (181, 56, 220) - 181 red, 56 green, and 220 blue.

How to use #B538DC in CSS?

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

What colors go well with #B538DC?

#5EDC38 (complementary), #6338DC (analogous), and #891EA9 (lighter shade) work well with #B538DC.