#7828A7 Color Information

Hex color code: #7828A7

#7828A7 is a muted purple color. In RGB it is (120, 40, 167), and in HSL it is (278°, 61%, 41%). It is typically applied in digital products.

Try:
Color NameRebecca Purple
HEX
#7828A7
RGB
120, 40, 167
HSL
278°, 61%, 41%
CMYK
28%, 76%, 0%, 35%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #7828A7; 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 #7828A7; background-color: #7828A715; }

Alert / Toast

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

Link / Accent

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

a { color: #7828A7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #7828A7 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

120, 40, 167

Red: 120 / Green: 40 / Blue: 167

HSL

278°, 61%, 41%

Hue: 278° / Saturation: 61% / Lightness: 41%

CMYK

28%, 76%, 0%, 35%

Cyan: 28% / Magenta: 76% / Yellow: 0% / Key: 35%

What color is #7828A7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7828A7 to RGB:

rgb(120, 40, 167)HEX to RGB Converter →

HEX to HSL

Convert #7828A7 to HSL:

hsl(278, 61%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #7828A7 to CMYK:

cmyk(28%, 76%, 0%, 35%)Color Converter →

Color Meaning and Usage

#7828A7 is a neutral purple color with RGB values of 120, 40, 167 and HSL of 278°, 61%, 41%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7828A7 is #58A829, creating high-contrast pairings. For softer combinations, try analogous colors like #3A29A8.

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

Contrast with #7828A7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7828A7?

#7828A7 is a neutral purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #7828A7?

#7828A7 in RGB is (120, 40, 167) - 120 red, 40 green, and 167 blue.

How to use #7828A7 in CSS?

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

What colors go well with #7828A7?

#58A829 (complementary), #3A29A8 (analogous), and #4D1A6B (lighter shade) work well with #7828A7.