#AF5AED Color Information

Hex color code: #AF5AED

#AF5AED is a bold purple color. In RGB it is (175, 90, 237), and in HSL it is (275°, 80%, 64%). It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#AF5AED
RGB
175, 90, 237
HSL
275°, 80%, 64%
CMYK
26%, 62%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF5AED; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 90, 237

Red: 175 / Green: 90 / Blue: 237

HSL

275°, 80%, 64%

Hue: 275° / Saturation: 80% / Lightness: 64%

CMYK

26%, 62%, 0%, 7%

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

What color is #AF5AED?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF5AED to RGB:

rgb(175, 90, 237)HEX to RGB Converter →

HEX to HSL

Convert #AF5AED to HSL:

hsl(275, 80%, 64%)RGB to HSL Converter →

HEX to CMYK

Convert #AF5AED to CMYK:

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

Color Meaning and Usage

#AF5AED is a dynamic purple color with RGB values of 175, 90, 237 and HSL of 275°, 80%, 64%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF5AED is #97ED5A, creating high-contrast pairings. For softer combinations, try analogous colors like #665AED.

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

Contrast with #AF5AED

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF5AED?

#AF5AED is a dynamic purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF5AED?

#AF5AED in RGB is (175, 90, 237) - 175 red, 90 green, and 237 blue.

How to use #AF5AED in CSS?

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

What colors go well with #AF5AED?

#97ED5A (complementary), #665AED (analogous), and #8E19E1 (lighter shade) work well with #AF5AED.