#A780B7 Color Information

Hex color code: #A780B7

The hex color #A780B7 is a pastel purple with RGB values of (167, 128, 183) and HSL of (283°, 28%, 61%). It is frequently seen in web interfaces.

Try:
Color NameMedium Purple
HEX
#A780B7
RGB
167, 128, 183
HSL
283°, 28%, 61%
CMYK
9%, 30%, 0%, 28%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #A780B7; color: #000000; }

Badge

New Feature
.badge { background-color: #A780B7; color: #000000; }

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 #A780B7; background-color: #A780B715; }

Alert / Toast

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

Link / Accent

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

a { color: #A780B7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

167, 128, 183

Red: 167 / Green: 128 / Blue: 183

HSL

283°, 28%, 61%

Hue: 283° / Saturation: 28% / Lightness: 61%

CMYK

9%, 30%, 0%, 28%

Cyan: 9% / Magenta: 30% / Yellow: 0% / Key: 28%

What color is #A780B7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A780B7 to RGB:

rgb(167, 128, 183)HEX to RGB Converter →

HEX to HSL

Convert #A780B7 to HSL:

hsl(283, 28%, 61%)RGB to HSL Converter →

HEX to CMYK

Convert #A780B7 to CMYK:

cmyk(9%, 30%, 0%, 28%)Color Converter →

Color Meaning and Usage

#A780B7 is a soft purple color with RGB values of 167, 128, 183 and HSL of 283°, 28%, 61%. This magenta-red hue evokes romance and playfulness, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A780B7 is #8FB780, creating high-contrast pairings. For softer combinations, try analogous colors like #8C80B7.

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

Contrast with #A780B7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A780B7?

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

What is the RGB value of #A780B7?

#A780B7 in RGB is (167, 128, 183) - 167 red, 128 green, and 183 blue.

How to use #A780B7 in CSS?

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

What colors go well with #A780B7?

#8FB780 (complementary), #8C80B7 (analogous), and #845496 (lighter shade) work well with #A780B7.