#A170BD Color Information

Hex color code: #A170BD

The hex color #A170BD is a pastel purple with RGB values of (161, 112, 189) and HSL of (278°, 37%, 59%). It is commonly used in modern UI design.

Try:
Color NameMedium Purple
HEX
#A170BD
RGB
161, 112, 189
HSL
278°, 37%, 59%
CMYK
15%, 41%, 0%, 26%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A170BD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

161, 112, 189

Red: 161 / Green: 112 / Blue: 189

HSL

278°, 37%, 59%

Hue: 278° / Saturation: 37% / Lightness: 59%

CMYK

15%, 41%, 0%, 26%

Cyan: 15% / Magenta: 41% / Yellow: 0% / Key: 26%

What color is #A170BD?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A170BD to RGB:

rgb(161, 112, 189)HEX to RGB Converter →

HEX to HSL

Convert #A170BD to HSL:

hsl(278, 37%, 59%)RGB to HSL Converter →

HEX to CMYK

Convert #A170BD to CMYK:

cmyk(15%, 41%, 0%, 26%)Color Converter →

Color Meaning and Usage

#A170BD is a pastel purple color with RGB values of 161, 112, 189 and HSL of 278°, 37%, 59%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A170BD is #8CBD70, creating high-contrast pairings. For softer combinations, try analogous colors like #7A70BD.

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

Contrast with #A170BD

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A170BD?

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

What is the RGB value of #A170BD?

#A170BD in RGB is (161, 112, 189) - 161 red, 112 green, and 189 blue.

How to use #A170BD in CSS?

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

What colors go well with #A170BD?

#8CBD70 (complementary), #7A70BD (analogous), and #7B479A (lighter shade) work well with #A170BD.