#AF45C4 Color Information

Hex color code: #AF45C4

#AF45C4 is a balanced magenta color. In RGB it is (175, 69, 196), and in HSL it is (290°, 52%, 52%). It is often used for branding and logos.

Try:
Color NameMedium Orchid
HEX
#AF45C4
RGB
175, 69, 196
HSL
290°, 52%, 52%
CMYK
11%, 65%, 0%, 23%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #AF45C4; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #AF45C4; color: #FFFFFF; }

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 #AF45C4; background-color: #AF45C415; }

Alert / Toast

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

Link / Accent

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

a { color: #AF45C4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 69, 196

Red: 175 / Green: 69 / Blue: 196

HSL

290°, 52%, 52%

Hue: 290° / Saturation: 52% / Lightness: 52%

CMYK

11%, 65%, 0%, 23%

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

What color is #AF45C4?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF45C4 to RGB:

rgb(175, 69, 196)HEX to RGB Converter →

HEX to HSL

Convert #AF45C4 to HSL:

hsl(290, 52%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #AF45C4 to CMYK:

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

Color Meaning and Usage

#AF45C4 is a neutral magenta color with RGB values of 175, 69, 196 and HSL of 290°, 52%, 52%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF45C4 is #5AC445, creating high-contrast pairings. For softer combinations, try analogous colors like #6F45C4.

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

Contrast with #AF45C4

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

Contrast Ratio: 4.47:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF45C4?

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

What is the RGB value of #AF45C4?

#AF45C4 in RGB is (175, 69, 196) - 175 red, 69 green, and 196 blue.

How to use #AF45C4 in CSS?

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

What colors go well with #AF45C4?

#5AC445 (complementary), #6F45C4 (analogous), and #7F2D8F (lighter shade) work well with #AF45C4.