#AF5DC6 Color Information

Hex color code: #AF5DC6

#AF5DC6 is a subtle magenta color. In RGB it is (175, 93, 198), and in HSL it is (287°, 48%, 57%). It is popular in mobile app design.

Try:
Color NameMedium Orchid
HEX
#AF5DC6
RGB
175, 93, 198
HSL
287°, 48%, 57%
CMYK
12%, 53%, 0%, 22%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF5DC6; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 93, 198

Red: 175 / Green: 93 / Blue: 198

HSL

287°, 48%, 57%

Hue: 287° / Saturation: 48% / Lightness: 57%

CMYK

12%, 53%, 0%, 22%

Cyan: 12% / Magenta: 53% / Yellow: 0% / Key: 22%

What color is #AF5DC6?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF5DC6 to RGB:

rgb(175, 93, 198)HEX to RGB Converter →

HEX to HSL

Convert #AF5DC6 to HSL:

hsl(287, 48%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #AF5DC6 to CMYK:

cmyk(12%, 53%, 0%, 22%)Color Converter →

Color Meaning and Usage

#AF5DC6 is a gentle magenta color with RGB values of 175, 93, 198 and HSL of 287°, 48%, 57%. This magenta-red hue evokes romance and playfulness, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF5DC6 is #74C65D, creating high-contrast pairings. For softer combinations, try analogous colors like #7B5DC6.

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

Contrast with #AF5DC6

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF5DC6?

#AF5DC6 is a gentle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF5DC6?

#AF5DC6 in RGB is (175, 93, 198) - 175 red, 93 green, and 198 blue.

How to use #AF5DC6 in CSS?

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

What colors go well with #AF5DC6?

#74C65D (complementary), #7B5DC6 (analogous), and #88389F (lighter shade) work well with #AF5DC6.