#AF54E3 Color Information

Hex color code: #AF54E3

The hex color #AF54E3 is a striking purple with RGB values of (175, 84, 227) and HSL of (278°, 72%, 61%). It is often used for branding and logos.

Try:
Color NameMedium Orchid
HEX
#AF54E3
RGB
175, 84, 227
HSL
278°, 72%, 61%
CMYK
23%, 63%, 0%, 11%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF54E3; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 84, 227

Red: 175 / Green: 84 / Blue: 227

HSL

278°, 72%, 61%

Hue: 278° / Saturation: 72% / Lightness: 61%

CMYK

23%, 63%, 0%, 11%

Cyan: 23% / Magenta: 63% / Yellow: 0% / Key: 11%

What color is #AF54E3?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF54E3 to RGB:

rgb(175, 84, 227)HEX to RGB Converter →

HEX to HSL

Convert #AF54E3 to HSL:

hsl(278, 72%, 61%)RGB to HSL Converter →

HEX to CMYK

Convert #AF54E3 to CMYK:

cmyk(23%, 63%, 0%, 11%)Color Converter →

Color Meaning and Usage

A bold purple tone, #AF54E3 has RGB (175, 84, 227) and HSL (278°, 72%, 61%). Known for evoking romance and playfulness, this magenta-red hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF54E3 is #88E354, creating high-contrast pairings. For softer combinations, try analogous colors like #6754E3.

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

Contrast with #AF54E3

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF54E3?

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

What is the RGB value of #AF54E3?

#AF54E3 in RGB is (175, 84, 227) - 175 red, 84 green, and 227 blue.

How to use #AF54E3 in CSS?

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

What colors go well with #AF54E3?

#88E354 (complementary), #6754E3 (analogous), and #8C21CA (lighter shade) work well with #AF54E3.