#AF9EDB Color Information

Hex color code: #AF9EDB

The hex color #AF9EDB is a soft purple with RGB values of (175, 158, 219) and HSL of (257°, 46%, 74%). It is typically applied in digital products.

Try:
Color NameLight Steel Blue
HEX
#AF9EDB
RGB
175, 158, 219
HSL
257°, 46%, 74%
CMYK
20%, 28%, 0%, 14%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF9EDB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 158, 219

Red: 175 / Green: 158 / Blue: 219

HSL

257°, 46%, 74%

Hue: 257° / Saturation: 46% / Lightness: 74%

CMYK

20%, 28%, 0%, 14%

Cyan: 20% / Magenta: 28% / Yellow: 0% / Key: 14%

What color is #AF9EDB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF9EDB to RGB:

rgb(175, 158, 219)HEX to RGB Converter →

HEX to HSL

Convert #AF9EDB to HSL:

hsl(257, 46%, 74%)RGB to HSL Converter →

HEX to CMYK

Convert #AF9EDB to CMYK:

cmyk(20%, 28%, 0%, 14%)Color Converter →

Color Meaning and Usage

#AF9EDB is a gentle purple color with RGB values of 175, 158, 219 and HSL of 257°, 46%, 74%. This blue-purple hue evokes creativity and luxury, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF9EDB is #CADB9E, creating high-contrast pairings. For softer combinations, try analogous colors like #9EABDB.

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

Contrast with #AF9EDB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF9EDB?

#AF9EDB is a gentle purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #AF9EDB?

#AF9EDB in RGB is (175, 158, 219) - 175 red, 158 green, and 219 blue.

How to use #AF9EDB in CSS?

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

What colors go well with #AF9EDB?

#CADB9E (complementary), #9EABDB (analogous), and #8266C7 (lighter shade) work well with #AF9EDB.