#DFA1F2 Color Information

Hex color code: #DFA1F2

#DFA1F2 is a delicate magenta color. In RGB it is (223, 161, 242), and in HSL it is (286°, 76%, 79%). It is popular in mobile app design.

Try:
Color NamePlum
HEX
#DFA1F2
RGB
223, 161, 242
HSL
286°, 76%, 79%
CMYK
8%, 33%, 0%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DFA1F2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

223, 161, 242

Red: 223 / Green: 161 / Blue: 242

HSL

286°, 76%, 79%

Hue: 286° / Saturation: 76% / Lightness: 79%

CMYK

8%, 33%, 0%, 5%

Cyan: 8% / Magenta: 33% / Yellow: 0% / Key: 5%

What color is #DFA1F2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DFA1F2 to RGB:

rgb(223, 161, 242)HEX to RGB Converter →

HEX to HSL

Convert #DFA1F2 to HSL:

hsl(286, 76%, 79%)RGB to HSL Converter →

HEX to CMYK

Convert #DFA1F2 to CMYK:

cmyk(8%, 33%, 0%, 5%)Color Converter →

Color Meaning and Usage

#DFA1F2 is a soft magenta color with RGB values of 223, 161, 242 and HSL of 286°, 76%, 79%. This magenta-red hue evokes romance and playfulness, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DFA1F2 is #B4F2A1, creating high-contrast pairings. For softer combinations, try analogous colors like #B6A1F2.

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

Contrast with #DFA1F2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DFA1F2?

#DFA1F2 is a soft magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #DFA1F2?

#DFA1F2 in RGB is (223, 161, 242) - 223 red, 161 green, and 242 blue.

How to use #DFA1F2 in CSS?

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

What colors go well with #DFA1F2?

#B4F2A1 (complementary), #B6A1F2 (analogous), and #C85DE9 (lighter shade) work well with #DFA1F2.