#AF96C3 Color Information

Hex color code: #AF96C3

#AF96C3 is a subtle purple color. In RGB it is (175, 150, 195), and in HSL it is (273°, 27%, 68%). It is often used for branding and logos.

Try:
Color NameSilver
HEX
#AF96C3
RGB
175, 150, 195
HSL
273°, 27%, 68%
CMYK
10%, 23%, 0%, 24%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF96C3; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 150, 195

Red: 175 / Green: 150 / Blue: 195

HSL

273°, 27%, 68%

Hue: 273° / Saturation: 27% / Lightness: 68%

CMYK

10%, 23%, 0%, 24%

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

What color is #AF96C3?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF96C3 to RGB:

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

HEX to HSL

Convert #AF96C3 to HSL:

hsl(273, 27%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #AF96C3 to CMYK:

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

Color Meaning and Usage

A soft purple tone, #AF96C3 has RGB (175, 150, 195) and HSL (273°, 27%, 68%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF96C3 is #ABC397, creating high-contrast pairings. For softer combinations, try analogous colors like #9A97C3.

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

Contrast with #AF96C3

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF96C3?

#AF96C3 is a soft purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF96C3?

#AF96C3 in RGB is (175, 150, 195) - 175 red, 150 green, and 195 blue.

How to use #AF96C3 in CSS?

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

What colors go well with #AF96C3?

#ABC397 (complementary), #9A97C3 (analogous), and #8A67A8 (lighter shade) work well with #AF96C3.