#AF97F4 Color Information

Hex color code: #AF97F4

A light purple shade, #AF97F4 appears as (175, 151, 244) in RGB and (255°, 81%, 77%) in HSL. It is commonly used in modern UI design.

Try:
Color NameLight Steel Blue
HEX
#AF97F4
RGB
175, 151, 244
HSL
255°, 81%, 77%
CMYK
28%, 38%, 0%, 4%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF97F4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 151, 244

Red: 175 / Green: 151 / Blue: 244

HSL

255°, 81%, 77%

Hue: 255° / Saturation: 81% / Lightness: 77%

CMYK

28%, 38%, 0%, 4%

Cyan: 28% / Magenta: 38% / Yellow: 0% / Key: 4%

What color is #AF97F4?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF97F4 to RGB:

rgb(175, 151, 244)HEX to RGB Converter →

HEX to HSL

Convert #AF97F4 to HSL:

hsl(255, 81%, 77%)RGB to HSL Converter →

HEX to CMYK

Convert #AF97F4 to CMYK:

cmyk(28%, 38%, 0%, 4%)Color Converter →

Color Meaning and Usage

A light purple tone, #AF97F4 has RGB (175, 151, 244) and HSL (255°, 81%, 77%). Known for evoking energy and excitement, this highly saturated hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF97F4 is #DCF495, creating high-contrast pairings. For softer combinations, try analogous colors like #95ADF4.

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

Contrast with #AF97F4

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

Contrast Ratio: 8.56:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF97F4?

#AF97F4 is a light purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #AF97F4?

#AF97F4 in RGB is (175, 151, 244) - 175 red, 151 green, and 244 blue.

How to use #AF97F4 in CSS?

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

What colors go well with #AF97F4?

#DCF495 (complementary), #95ADF4 (analogous), and #7750ED (lighter shade) work well with #AF97F4.