#AF78E5 Color Information

Hex color code: #AF78E5

The hex color #AF78E5 is a subtle purple with RGB values of (175, 120, 229) and HSL of (270°, 68%, 68%). It is popular in mobile app design.

Try:
Color NameMedium Purple
HEX
#AF78E5
RGB
175, 120, 229
HSL
270°, 68%, 68%
CMYK
24%, 48%, 0%, 10%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF78E5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 120, 229

Red: 175 / Green: 120 / Blue: 229

HSL

270°, 68%, 68%

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

CMYK

24%, 48%, 0%, 10%

Cyan: 24% / Magenta: 48% / Yellow: 0% / Key: 10%

What color is #AF78E5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF78E5 to RGB:

rgb(175, 120, 229)HEX to RGB Converter →

HEX to HSL

Convert #AF78E5 to HSL:

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

HEX to CMYK

Convert #AF78E5 to CMYK:

cmyk(24%, 48%, 0%, 10%)Color Converter →

Color Meaning and Usage

A neutral purple tone, #AF78E5 has RGB (175, 120, 229) and HSL (270°, 68%, 68%). Known for evoking romance and playfulness, this magenta-red hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF78E5 is #ADE576, creating high-contrast pairings. For softer combinations, try analogous colors like #7676E5.

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

Contrast with #AF78E5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF78E5?

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

What is the RGB value of #AF78E5?

#AF78E5 in RGB is (175, 120, 229) - 175 red, 120 green, and 229 blue.

How to use #AF78E5 in CSS?

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

What colors go well with #AF78E5?

#ADE576 (complementary), #7676E5 (analogous), and #8736D9 (lighter shade) work well with #AF78E5.