#DF8AF1 Color Information

Hex color code: #DF8AF1

A bold magenta shade, #DF8AF1 appears as (223, 138, 241) in RGB and (290°, 79%, 74%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameViolet
HEX
#DF8AF1
RGB
223, 138, 241
HSL
290°, 79%, 74%
CMYK
7%, 43%, 0%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DF8AF1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

223, 138, 241

Red: 223 / Green: 138 / Blue: 241

HSL

290°, 79%, 74%

Hue: 290° / Saturation: 79% / Lightness: 74%

CMYK

7%, 43%, 0%, 5%

Cyan: 7% / Magenta: 43% / Yellow: 0% / Key: 5%

What color is #DF8AF1?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DF8AF1 to RGB:

rgb(223, 138, 241)HEX to RGB Converter →

HEX to HSL

Convert #DF8AF1 to HSL:

hsl(290, 79%, 74%)RGB to HSL Converter →

HEX to CMYK

Convert #DF8AF1 to CMYK:

cmyk(7%, 43%, 0%, 5%)Color Converter →

Color Meaning and Usage

A striking magenta tone, #DF8AF1 has RGB (223, 138, 241) and HSL (290°, 79%, 74%). Known for evoking romance and playfulness, this magenta-red hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DF8AF1 is #9AF188, creating high-contrast pairings. For softer combinations, try analogous colors like #AB88F1.

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

Contrast with #DF8AF1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DF8AF1?

#DF8AF1 is a striking magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #DF8AF1?

#DF8AF1 in RGB is (223, 138, 241) - 223 red, 138 green, and 241 blue.

How to use #DF8AF1 in CSS?

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

What colors go well with #DF8AF1?

#9AF188 (complementary), #AB88F1 (analogous), and #CE44E9 (lighter shade) work well with #DF8AF1.