#AF91C3 Color Information

Hex color code: #AF91C3

The hex color #AF91C3 is a pastel purple with RGB values of (175, 145, 195) and HSL of (276°, 29%, 67%). It is commonly used in modern UI design.

Try:
Color NameMedium Purple
HEX
#AF91C3
RGB
175, 145, 195
HSL
276°, 29%, 67%
CMYK
10%, 26%, 0%, 24%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF91C3; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 145, 195

Red: 175 / Green: 145 / Blue: 195

HSL

276°, 29%, 67%

Hue: 276° / Saturation: 29% / Lightness: 67%

CMYK

10%, 26%, 0%, 24%

Cyan: 10% / Magenta: 26% / Yellow: 0% / Key: 24%

What color is #AF91C3?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF91C3 to RGB:

rgb(175, 145, 195)HEX to RGB Converter →

HEX to HSL

Convert #AF91C3 to HSL:

hsl(276, 29%, 67%)RGB to HSL Converter →

HEX to CMYK

Convert #AF91C3 to CMYK:

cmyk(10%, 26%, 0%, 24%)Color Converter →

Color Meaning and Usage

A subtle purple tone, #AF91C3 has RGB (175, 145, 195) and HSL (276°, 29%, 67%). Known for evoking romance and playfulness, this magenta-red hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF91C3 is #A6C392, creating high-contrast pairings. For softer combinations, try analogous colors like #9792C3.

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

Contrast with #AF91C3

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF91C3?

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

What is the RGB value of #AF91C3?

#AF91C3 in RGB is (175, 145, 195) - 175 red, 145 green, and 195 blue.

How to use #AF91C3 in CSS?

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

What colors go well with #AF91C3?

#A6C392 (complementary), #9792C3 (analogous), and #8C61A8 (lighter shade) work well with #AF91C3.