#781158 Color Information

Hex color code: #781158

A dynamic magenta shade, #781158 appears as (120, 17, 88) in RGB and (319°, 75%, 27%) in HSL. It is typically applied in digital products.

Try:
Color NamePurple
HEX
#781158
RGB
120, 17, 88
HSL
319°, 75%, 27%
CMYK
0%, 86%, 27%, 53%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #781158; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

120, 17, 88

Red: 120 / Green: 17 / Blue: 88

HSL

319°, 75%, 27%

Hue: 319° / Saturation: 75% / Lightness: 27%

CMYK

0%, 86%, 27%, 53%

Cyan: 0% / Magenta: 86% / Yellow: 27% / Key: 53%

What color is #781158?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #781158 to RGB:

rgb(120, 17, 88)HEX to RGB Converter →

HEX to HSL

Convert #781158 to HSL:

hsl(319, 75%, 27%)RGB to HSL Converter →

HEX to CMYK

Convert #781158 to CMYK:

cmyk(0%, 86%, 27%, 53%)Color Converter →

Color Meaning and Usage

A eye-catching magenta tone, #781158 has RGB (120, 17, 88) and HSL (319°, 75%, 27%). Known for evoking romance and playfulness, this magenta-red hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #781158 is #117832, creating high-contrast pairings. For softer combinations, try analogous colors like #661178.

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

Contrast with #781158

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #781158?

#781158 is a eye-catching magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #781158?

#781158 in RGB is (120, 17, 88) - 120 red, 17 green, and 88 blue.

How to use #781158 in CSS?

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

What colors go well with #781158?

#117832 (complementary), #661178 (analogous), and #360827 (lighter shade) work well with #781158.