#A278B5 Color Information

Hex color code: #A278B5

#A278B5 is a subtle purple color. In RGB it is (162, 120, 181), and in HSL it is (281°, 29%, 59%). It is popular in mobile app design.

Try:
Color NameMedium Purple
HEX
#A278B5
RGB
162, 120, 181
HSL
281°, 29%, 59%
CMYK
10%, 34%, 0%, 29%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A278B5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

162, 120, 181

Red: 162 / Green: 120 / Blue: 181

HSL

281°, 29%, 59%

Hue: 281° / Saturation: 29% / Lightness: 59%

CMYK

10%, 34%, 0%, 29%

Cyan: 10% / Magenta: 34% / Yellow: 0% / Key: 29%

What color is #A278B5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A278B5 to RGB:

rgb(162, 120, 181)HEX to RGB Converter →

HEX to HSL

Convert #A278B5 to HSL:

hsl(281, 29%, 59%)RGB to HSL Converter →

HEX to CMYK

Convert #A278B5 to CMYK:

cmyk(10%, 34%, 0%, 29%)Color Converter →

Color Meaning and Usage

#A278B5 is a pastel purple color with RGB values of 162, 120, 181 and HSL of 281°, 29%, 59%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A278B5 is #8BB578, creating high-contrast pairings. For softer combinations, try analogous colors like #8378B5.

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

Contrast with #A278B5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A278B5?

#A278B5 is a pastel purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #A278B5?

#A278B5 in RGB is (162, 120, 181) - 162 red, 120 green, and 181 blue.

How to use #A278B5 in CSS?

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

What colors go well with #A278B5?

#8BB578 (complementary), #8378B5 (analogous), and #7C5091 (lighter shade) work well with #A278B5.