#D98DF5 Color Information

Hex color code: #D98DF5

#D98DF5 is a soft purple color. In RGB it is (217, 141, 245), and in HSL it is (284°, 84%, 76%). It is often used for branding and logos.

Try:
Color NameViolet
HEX
#D98DF5
RGB
217, 141, 245
HSL
284°, 84%, 76%
CMYK
11%, 42%, 0%, 4%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D98DF5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 141, 245

Red: 217 / Green: 141 / Blue: 245

HSL

284°, 84%, 76%

Hue: 284° / Saturation: 84% / Lightness: 76%

CMYK

11%, 42%, 0%, 4%

Cyan: 11% / Magenta: 42% / Yellow: 0% / Key: 4%

What color is #D98DF5?

#D98DF5 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D98DF5 to RGB:

rgb(217, 141, 245)HEX to RGB Converter →

HEX to HSL

Convert #D98DF5 to HSL:

hsl(284, 84%, 76%)RGB to HSL Converter →

HEX to CMYK

Convert #D98DF5 to CMYK:

cmyk(11%, 42%, 0%, 4%)Color Converter →

Color Meaning and Usage

#D98DF5 is a soft purple color with RGB values of 217, 141, 245 and HSL of 284°, 84%, 76%. This highly saturated hue evokes energy and excitement, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D98DF5 is #AAF58E, creating high-contrast pairings. For softer combinations, try analogous colors like #A68EF5.

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

Contrast with #D98DF5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D98DF5?

#D98DF5 is a soft purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #D98DF5?

#D98DF5 in RGB is (217, 141, 245) - 217 red, 141 green, and 245 blue.

How to use #D98DF5 in CSS?

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

What colors go well with #D98DF5?

#AAF58E (complementary), #A68EF5 (analogous), and #C348EF (lighter shade) work well with #D98DF5.