#AF7DCF Color Information

Hex color code: #AF7DCF

The hex color #AF7DCF is a gentle purple with RGB values of (175, 125, 207) and HSL of (277°, 46%, 65%). It is often used for branding and logos.

Try:
Color NameMedium Purple
HEX
#AF7DCF
RGB
175, 125, 207
HSL
277°, 46%, 65%
CMYK
15%, 40%, 0%, 19%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF7DCF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 125, 207

Red: 175 / Green: 125 / Blue: 207

HSL

277°, 46%, 65%

Hue: 277° / Saturation: 46% / Lightness: 65%

CMYK

15%, 40%, 0%, 19%

Cyan: 15% / Magenta: 40% / Yellow: 0% / Key: 19%

What color is #AF7DCF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF7DCF to RGB:

rgb(175, 125, 207)HEX to RGB Converter →

HEX to HSL

Convert #AF7DCF to HSL:

hsl(277, 46%, 65%)RGB to HSL Converter →

HEX to CMYK

Convert #AF7DCF to CMYK:

cmyk(15%, 40%, 0%, 19%)Color Converter →

Color Meaning and Usage

#AF7DCF is a delicate purple color with RGB values of 175, 125, 207 and HSL of 277°, 46%, 65%. This magenta-red hue evokes romance and playfulness, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF7DCF is #9CCF7D, creating high-contrast pairings. For softer combinations, try analogous colors like #867DCF.

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

Contrast with #AF7DCF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF7DCF?

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

What is the RGB value of #AF7DCF?

#AF7DCF in RGB is (175, 125, 207) - 175 red, 125 green, and 207 blue.

How to use #AF7DCF in CSS?

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

What colors go well with #AF7DCF?

#9CCF7D (complementary), #867DCF (analogous), and #8D45BA (lighter shade) work well with #AF7DCF.