#AF48EF Color Information

Hex color code: #AF48EF

The hex color #AF48EF is a vivid purple with RGB values of (175, 72, 239) and HSL of (277°, 84%, 61%). It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#AF48EF
RGB
175, 72, 239
HSL
277°, 84%, 61%
CMYK
27%, 70%, 0%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF48EF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 72, 239

Red: 175 / Green: 72 / Blue: 239

HSL

277°, 84%, 61%

Hue: 277° / Saturation: 84% / Lightness: 61%

CMYK

27%, 70%, 0%, 6%

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

What color is #AF48EF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF48EF to RGB:

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

HEX to HSL

Convert #AF48EF to HSL:

hsl(277, 84%, 61%)RGB to HSL Converter →

HEX to CMYK

Convert #AF48EF to CMYK:

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

Color Meaning and Usage

#AF48EF is a eye-catching purple color with RGB values of 175, 72, 239 and HSL of 277°, 84%, 61%. This highly saturated hue evokes energy and excitement, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF48EF is #88EF48, creating high-contrast pairings. For softer combinations, try analogous colors like #5C48EF.

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

Contrast with #AF48EF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF48EF?

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

What is the RGB value of #AF48EF?

#AF48EF in RGB is (175, 72, 239) - 175 red, 72 green, and 239 blue.

How to use #AF48EF in CSS?

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

What colors go well with #AF48EF?

#88EF48 (complementary), #5C48EF (analogous), and #8C13D8 (lighter shade) work well with #AF48EF.