#7B508B Color Information

Hex color code: #7B508B

A gentle purple shade, #7B508B appears as (123, 80, 139) in RGB and (284°, 27%, 43%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameRebecca Purple
HEX
#7B508B
RGB
123, 80, 139
HSL
284°, 27%, 43%
CMYK
12%, 42%, 0%, 45%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #7B508B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #7B508B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

123, 80, 139

Red: 123 / Green: 80 / Blue: 139

HSL

284°, 27%, 43%

Hue: 284° / Saturation: 27% / Lightness: 43%

CMYK

12%, 42%, 0%, 45%

Cyan: 12% / Magenta: 42% / Yellow: 0% / Key: 45%

What color is #7B508B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7B508B to RGB:

rgb(123, 80, 139)HEX to RGB Converter →

HEX to HSL

Convert #7B508B to HSL:

hsl(284, 27%, 43%)RGB to HSL Converter →

HEX to CMYK

Convert #7B508B to CMYK:

cmyk(12%, 42%, 0%, 45%)Color Converter →

Color Meaning and Usage

A soft purple tone, #7B508B has RGB (123, 80, 139) and HSL (284°, 27%, 43%). Known for evoking romance and playfulness, this magenta-red hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7B508B is #608B50, creating high-contrast pairings. For softer combinations, try analogous colors like #5E508B.

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

Contrast with #7B508B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7B508B?

#7B508B is a soft purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #7B508B?

#7B508B in RGB is (123, 80, 139) - 123 red, 80 green, and 139 blue.

How to use #7B508B in CSS?

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

What colors go well with #7B508B?

#608B50 (complementary), #5E508B (analogous), and #50345B (lighter shade) work well with #7B508B.