#AF95D7 Color Information

Hex color code: #AF95D7

A pastel purple shade, #AF95D7 appears as (175, 149, 215) in RGB and (264°, 45%, 71%) in HSL. It is commonly used in modern UI design.

Try:
Color NameMedium Purple
HEX
#AF95D7
RGB
175, 149, 215
HSL
264°, 45%, 71%
CMYK
19%, 31%, 0%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF95D7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 149, 215

Red: 175 / Green: 149 / Blue: 215

HSL

264°, 45%, 71%

Hue: 264° / Saturation: 45% / Lightness: 71%

CMYK

19%, 31%, 0%, 16%

Cyan: 19% / Magenta: 31% / Yellow: 0% / Key: 16%

What color is #AF95D7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF95D7 to RGB:

rgb(175, 149, 215)HEX to RGB Converter →

HEX to HSL

Convert #AF95D7 to HSL:

hsl(264, 45%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #AF95D7 to CMYK:

cmyk(19%, 31%, 0%, 16%)Color Converter →

Color Meaning and Usage

A subtle purple tone, #AF95D7 has RGB (175, 149, 215) and HSL (264°, 45%, 71%). Known for evoking creativity and luxury, this blue-purple hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF95D7 is #BCD694, creating high-contrast pairings. For softer combinations, try analogous colors like #949AD6.

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

Contrast with #AF95D7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF95D7?

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

What is the RGB value of #AF95D7?

#AF95D7 in RGB is (175, 149, 215) - 175 red, 149 green, and 215 blue.

How to use #AF95D7 in CSS?

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

What colors go well with #AF95D7?

#BCD694 (complementary), #949AD6 (analogous), and #855CC1 (lighter shade) work well with #AF95D7.