#AF8FF0 Color Information

Hex color code: #AF8FF0

#AF8FF0 is a dynamic purple color. In RGB it is (175, 143, 240), and in HSL it is (260°, 76%, 75%). It is typically applied in digital products.

Try:
Color NameMedium Purple
HEX
#AF8FF0
RGB
175, 143, 240
HSL
260°, 76%, 75%
CMYK
27%, 40%, 0%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF8FF0; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 143, 240

Red: 175 / Green: 143 / Blue: 240

HSL

260°, 76%, 75%

Hue: 260° / Saturation: 76% / Lightness: 75%

CMYK

27%, 40%, 0%, 6%

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

What color is #AF8FF0?

#AF8FF0 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF8FF0 to RGB:

rgb(175, 143, 240)HEX to RGB Converter →

HEX to HSL

Convert #AF8FF0 to HSL:

hsl(260, 76%, 75%)RGB to HSL Converter →

HEX to CMYK

Convert #AF8FF0 to CMYK:

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

Color Meaning and Usage

A vivid purple tone, #AF8FF0 has RGB (175, 143, 240) and HSL (260°, 76%, 75%). Known for evoking creativity and luxury, this blue-purple hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF8FF0 is #CFF08F, creating high-contrast pairings. For softer combinations, try analogous colors like #8F9FF0.

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

Contrast with #AF8FF0

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF8FF0?

#AF8FF0 is a vivid purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #AF8FF0?

#AF8FF0 in RGB is (175, 143, 240) - 175 red, 143 green, and 240 blue.

How to use #AF8FF0 in CSS?

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

What colors go well with #AF8FF0?

#CFF08F (complementary), #8F9FF0 (analogous), and #7F4BE7 (lighter shade) work well with #AF8FF0.