#D17AF0 Color Information

Hex color code: #D17AF0

A striking purple shade, #D17AF0 appears as (209, 122, 240) in RGB and (284°, 80%, 71%) in HSL. It is popular in mobile app design.

Try:
Color NameViolet
HEX
#D17AF0
RGB
209, 122, 240
HSL
284°, 80%, 71%
CMYK
13%, 49%, 0%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D17AF0; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

209, 122, 240

Red: 209 / Green: 122 / Blue: 240

HSL

284°, 80%, 71%

Hue: 284° / Saturation: 80% / Lightness: 71%

CMYK

13%, 49%, 0%, 6%

Cyan: 13% / Magenta: 49% / Yellow: 0% / Key: 6%

What color is #D17AF0?

#D17AF0 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D17AF0 to RGB:

rgb(209, 122, 240)HEX to RGB Converter →

HEX to HSL

Convert #D17AF0 to HSL:

hsl(284, 80%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #D17AF0 to CMYK:

cmyk(13%, 49%, 0%, 6%)Color Converter →

Color Meaning and Usage

A eye-catching purple tone, #D17AF0 has RGB (209, 122, 240) and HSL (284°, 80%, 71%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D17AF0 is #99F07A, creating high-contrast pairings. For softer combinations, try analogous colors like #957AF0.

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

Contrast with #D17AF0

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D17AF0?

#D17AF0 is a eye-catching purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D17AF0?

#D17AF0 in RGB is (209, 122, 240) - 209 red, 122 green, and 240 blue.

How to use #D17AF0 in CSS?

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

What colors go well with #D17AF0?

#99F07A (complementary), #957AF0 (analogous), and #B935E9 (lighter shade) work well with #D17AF0.