#AF6FEE Color Information

Hex color code: #AF6FEE

A striking purple shade, #AF6FEE appears as (175, 111, 238) in RGB and (270°, 79%, 68%) in HSL. It is popular in mobile app design.

Try:
Color NameMedium Purple
HEX
#AF6FEE
RGB
175, 111, 238
HSL
270°, 79%, 68%
CMYK
26%, 53%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF6FEE; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 111, 238

Red: 175 / Green: 111 / Blue: 238

HSL

270°, 79%, 68%

Hue: 270° / Saturation: 79% / Lightness: 68%

CMYK

26%, 53%, 0%, 7%

Cyan: 26% / Magenta: 53% / Yellow: 0% / Key: 7%

What color is #AF6FEE?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF6FEE to RGB:

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

HEX to HSL

Convert #AF6FEE to HSL:

hsl(270, 79%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #AF6FEE to CMYK:

cmyk(26%, 53%, 0%, 7%)Color Converter →

Color Meaning and Usage

#AF6FEE is a bold purple color with RGB values of 175, 111, 238 and HSL of 270°, 79%, 68%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF6FEE is #ADEE6D, creating high-contrast pairings. For softer combinations, try analogous colors like #6D6DEE.

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

Contrast with #AF6FEE

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF6FEE?

#AF6FEE is a bold purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF6FEE?

#AF6FEE in RGB is (175, 111, 238) - 175 red, 111 green, and 238 blue.

How to use #AF6FEE in CSS?

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

What colors go well with #AF6FEE?

#ADEE6D (complementary), #6D6DEE (analogous), and #8728E6 (lighter shade) work well with #AF6FEE.