#AF98CD Color Information

Hex color code: #AF98CD

The hex color #AF98CD is a delicate purple with RGB values of (175, 152, 205) and HSL of (266°, 35%, 70%). It is popular in mobile app design.

Try:
Color NameSilver
HEX
#AF98CD
RGB
175, 152, 205
HSL
266°, 35%, 70%
CMYK
15%, 26%, 0%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF98CD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 152, 205

Red: 175 / Green: 152 / Blue: 205

HSL

266°, 35%, 70%

Hue: 266° / Saturation: 35% / Lightness: 70%

CMYK

15%, 26%, 0%, 20%

Cyan: 15% / Magenta: 26% / Yellow: 0% / Key: 20%

What color is #AF98CD?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF98CD to RGB:

rgb(175, 152, 205)HEX to RGB Converter →

HEX to HSL

Convert #AF98CD to HSL:

hsl(266, 35%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #AF98CD to CMYK:

cmyk(15%, 26%, 0%, 20%)Color Converter →

Color Meaning and Usage

A subtle purple tone, #AF98CD has RGB (175, 152, 205) and HSL (266°, 35%, 70%). 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 #AF98CD is #B6CD98, creating high-contrast pairings. For softer combinations, try analogous colors like #989BCD.

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

Contrast with #AF98CD

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF98CD?

#AF98CD is a subtle purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #AF98CD?

#AF98CD in RGB is (175, 152, 205) - 175 red, 152 green, and 205 blue.

How to use #AF98CD in CSS?

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

What colors go well with #AF98CD?

#B6CD98 (complementary), #989BCD (analogous), and #8764B4 (lighter shade) work well with #AF98CD.