#AF8BDF Color Information

Hex color code: #AF8BDF

A calming purple shade, #AF8BDF appears as (175, 139, 223) in RGB and (266°, 57%, 71%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameMedium Purple
HEX
#AF8BDF
RGB
175, 139, 223
HSL
266°, 57%, 71%
CMYK
22%, 38%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF8BDF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 139, 223

Red: 175 / Green: 139 / Blue: 223

HSL

266°, 57%, 71%

Hue: 266° / Saturation: 57% / Lightness: 71%

CMYK

22%, 38%, 0%, 13%

Cyan: 22% / Magenta: 38% / Yellow: 0% / Key: 13%

What color is #AF8BDF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF8BDF to RGB:

rgb(175, 139, 223)HEX to RGB Converter →

HEX to HSL

Convert #AF8BDF to HSL:

hsl(266, 57%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #AF8BDF to CMYK:

cmyk(22%, 38%, 0%, 13%)Color Converter →

Color Meaning and Usage

A serene purple tone, #AF8BDF has RGB (175, 139, 223) and HSL (266°, 57%, 71%). Known for evoking creativity and luxury, this blue-purple hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF8BDF is #BBDF8B, creating high-contrast pairings. For softer combinations, try analogous colors like #8B91DF.

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

Contrast with #AF8BDF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF8BDF?

#AF8BDF is a serene purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #AF8BDF?

#AF8BDF in RGB is (175, 139, 223) - 175 red, 139 green, and 223 blue.

How to use #AF8BDF in CSS?

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

What colors go well with #AF8BDF?

#BBDF8B (complementary), #8B91DF (analogous), and #864FCF (lighter shade) work well with #AF8BDF.