#AF8DBF Color Information

Hex color code: #AF8DBF

#AF8DBF is a delicate purple color. In RGB it is (175, 141, 191), and in HSL it is (281°, 28%, 65%). It is popular in mobile app design.

Try:
Color NameMedium Purple
HEX
#AF8DBF
RGB
175, 141, 191
HSL
281°, 28%, 65%
CMYK
8%, 26%, 0%, 25%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF8DBF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 141, 191

Red: 175 / Green: 141 / Blue: 191

HSL

281°, 28%, 65%

Hue: 281° / Saturation: 28% / Lightness: 65%

CMYK

8%, 26%, 0%, 25%

Cyan: 8% / Magenta: 26% / Yellow: 0% / Key: 25%

What color is #AF8DBF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF8DBF to RGB:

rgb(175, 141, 191)HEX to RGB Converter →

HEX to HSL

Convert #AF8DBF to HSL:

hsl(281, 28%, 65%)RGB to HSL Converter →

HEX to CMYK

Convert #AF8DBF to CMYK:

cmyk(8%, 26%, 0%, 25%)Color Converter →

Color Meaning and Usage

#AF8DBF is a subtle purple color with RGB values of 175, 141, 191 and HSL of 281°, 28%, 65%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF8DBF is #9DBF8D, creating high-contrast pairings. For softer combinations, try analogous colors like #968DBF.

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

Contrast with #AF8DBF

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

Contrast Ratio: 7.39:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF8DBF?

#AF8DBF is a subtle purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF8DBF?

#AF8DBF in RGB is (175, 141, 191) - 175 red, 141 green, and 191 blue.

How to use #AF8DBF in CSS?

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

What colors go well with #AF8DBF?

#9DBF8D (complementary), #968DBF (analogous), and #8D5CA3 (lighter shade) work well with #AF8DBF.