#AF81BB Color Information

Hex color code: #AF81BB

#AF81BB is a delicate magenta color. In RGB it is (175, 129, 187), and in HSL it is (288°, 30%, 62%). It is widely used in graphic design.

Try:
Color NameMedium Purple
HEX
#AF81BB
RGB
175, 129, 187
HSL
288°, 30%, 62%
CMYK
6%, 31%, 0%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF81BB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 129, 187

Red: 175 / Green: 129 / Blue: 187

HSL

288°, 30%, 62%

Hue: 288° / Saturation: 30% / Lightness: 62%

CMYK

6%, 31%, 0%, 27%

Cyan: 6% / Magenta: 31% / Yellow: 0% / Key: 27%

What color is #AF81BB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF81BB to RGB:

rgb(175, 129, 187)HEX to RGB Converter →

HEX to HSL

Convert #AF81BB to HSL:

hsl(288, 30%, 62%)RGB to HSL Converter →

HEX to CMYK

Convert #AF81BB to CMYK:

cmyk(6%, 31%, 0%, 27%)Color Converter →

Color Meaning and Usage

A delicate magenta tone, #AF81BB has RGB (175, 129, 187) and HSL (288°, 30%, 62%). Known for evoking romance and playfulness, this magenta-red hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF81BB is #8DBB81, creating high-contrast pairings. For softer combinations, try analogous colors like #9281BB.

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

Contrast with #AF81BB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF81BB?

#AF81BB is a delicate magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF81BB?

#AF81BB in RGB is (175, 129, 187) - 175 red, 129 green, and 187 blue.

How to use #AF81BB in CSS?

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

What colors go well with #AF81BB?

#8DBB81 (complementary), #9281BB (analogous), and #8D549C (lighter shade) work well with #AF81BB.