#AF41EF Color Information

Hex color code: #AF41EF

#AF41EF is a vivid purple color. In RGB it is (175, 65, 239), and in HSL it is (278°, 84%, 60%). It is commonly used in modern UI design.

Try:
Color NameMedium Orchid
HEX
#AF41EF
RGB
175, 65, 239
HSL
278°, 84%, 60%
CMYK
27%, 73%, 0%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF41EF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 65, 239

Red: 175 / Green: 65 / Blue: 239

HSL

278°, 84%, 60%

Hue: 278° / Saturation: 84% / Lightness: 60%

CMYK

27%, 73%, 0%, 6%

Cyan: 27% / Magenta: 73% / Yellow: 0% / Key: 6%

What color is #AF41EF?

#AF41EF is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF41EF to RGB:

rgb(175, 65, 239)HEX to RGB Converter →

HEX to HSL

Convert #AF41EF to HSL:

hsl(278, 84%, 60%)RGB to HSL Converter →

HEX to CMYK

Convert #AF41EF to CMYK:

cmyk(27%, 73%, 0%, 6%)Color Converter →

Color Meaning and Usage

#AF41EF is a eye-catching purple color with RGB values of 175, 65, 239 and HSL of 278°, 84%, 60%. This highly saturated hue evokes energy and excitement, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF41EF is #82EF43, creating high-contrast pairings. For softer combinations, try analogous colors like #5A43EF.

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

Contrast with #AF41EF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF41EF?

#AF41EF is a eye-catching purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #AF41EF?

#AF41EF in RGB is (175, 65, 239) - 175 red, 65 green, and 239 blue.

How to use #AF41EF in CSS?

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

What colors go well with #AF41EF?

#82EF43 (complementary), #5A43EF (analogous), and #8C12D3 (lighter shade) work well with #AF41EF.