#AF6FE0 Color Information

Hex color code: #AF6FE0

#AF6FE0 is a balanced purple color. In RGB it is (175, 111, 224), and in HSL it is (274°, 65%, 66%). It is frequently seen in web interfaces.

Try:
Color NameMedium Purple
HEX
#AF6FE0
RGB
175, 111, 224
HSL
274°, 65%, 66%
CMYK
22%, 50%, 0%, 12%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF6FE0; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 111, 224

Red: 175 / Green: 111 / Blue: 224

HSL

274°, 65%, 66%

Hue: 274° / Saturation: 65% / Lightness: 66%

CMYK

22%, 50%, 0%, 12%

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

What color is #AF6FE0?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF6FE0 to RGB:

rgb(175, 111, 224)HEX to RGB Converter →

HEX to HSL

Convert #AF6FE0 to HSL:

hsl(274, 65%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #AF6FE0 to CMYK:

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

Color Meaning and Usage

A neutral purple tone, #AF6FE0 has RGB (175, 111, 224) and HSL (274°, 65%, 66%). Known for evoking romance and playfulness, this magenta-red hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF6FE0 is #A1E170, creating high-contrast pairings. For softer combinations, try analogous colors like #7770E1.

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

Contrast with #AF6FE0

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF6FE0?

#AF6FE0 is a neutral purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF6FE0?

#AF6FE0 in RGB is (175, 111, 224) - 175 red, 111 green, and 224 blue.

How to use #AF6FE0 in CSS?

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

What colors go well with #AF6FE0?

#A1E170 (complementary), #7770E1 (analogous), and #8D31D3 (lighter shade) work well with #AF6FE0.