#DC98EF Color Information

Hex color code: #DC98EF

A delicate magenta shade, #DC98EF appears as (220, 152, 239) in RGB and (287°, 73%, 77%) in HSL. It is popular in mobile app design.

Try:
Color NamePlum
HEX
#DC98EF
RGB
220, 152, 239
HSL
287°, 73%, 77%
CMYK
8%, 36%, 0%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DC98EF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

220, 152, 239

Red: 220 / Green: 152 / Blue: 239

HSL

287°, 73%, 77%

Hue: 287° / Saturation: 73% / Lightness: 77%

CMYK

8%, 36%, 0%, 6%

Cyan: 8% / Magenta: 36% / Yellow: 0% / Key: 6%

What color is #DC98EF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DC98EF to RGB:

rgb(220, 152, 239)HEX to RGB Converter →

HEX to HSL

Convert #DC98EF to HSL:

hsl(287, 73%, 77%)RGB to HSL Converter →

HEX to CMYK

Convert #DC98EF to CMYK:

cmyk(8%, 36%, 0%, 6%)Color Converter →

Color Meaning and Usage

A light magenta tone, #DC98EF has RGB (220, 152, 239) and HSL (287°, 73%, 77%). Known for evoking romance and playfulness, this magenta-red hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DC98EF is #ACEF9A, creating high-contrast pairings. For softer combinations, try analogous colors like #B29AEF.

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

Contrast with #DC98EF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DC98EF?

#DC98EF is a light magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #DC98EF?

#DC98EF in RGB is (220, 152, 239) - 220 red, 152 green, and 239 blue.

How to use #DC98EF in CSS?

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

What colors go well with #DC98EF?

#ACEF9A (complementary), #B29AEF (analogous), and #C657E5 (lighter shade) work well with #DC98EF.