#D238D7 Color Information

Hex color code: #D238D7

#D238D7 is a understated magenta color. In RGB it is (210, 56, 215), and in HSL it is (298°, 67%, 53%). It is popular in mobile app design.

Try:
Color NameMedium Orchid
HEX
#D238D7
RGB
210, 56, 215
HSL
298°, 67%, 53%
CMYK
2%, 74%, 0%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D238D7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 56, 215

Red: 210 / Green: 56 / Blue: 215

HSL

298°, 67%, 53%

Hue: 298° / Saturation: 67% / Lightness: 53%

CMYK

2%, 74%, 0%, 16%

Cyan: 2% / Magenta: 74% / Yellow: 0% / Key: 16%

What color is #D238D7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D238D7 to RGB:

rgb(210, 56, 215)HEX to RGB Converter →

HEX to HSL

Convert #D238D7 to HSL:

hsl(298, 67%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #D238D7 to CMYK:

cmyk(2%, 74%, 0%, 16%)Color Converter →

Color Meaning and Usage

A balanced magenta tone, #D238D7 has RGB (210, 56, 215) and HSL (298°, 67%, 53%). Known for evoking romance and playfulness, this magenta-red hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D238D7 is #3CD737, creating high-contrast pairings. For softer combinations, try analogous colors like #8237D7.

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

Contrast with #D238D7

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

Contrast Ratio: 5.29:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D238D7?

#D238D7 is a balanced magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D238D7?

#D238D7 in RGB is (210, 56, 215) - 210 red, 56 green, and 215 blue.

How to use #D238D7 in CSS?

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

What colors go well with #D238D7?

#3CD737 (complementary), #8237D7 (analogous), and #9D20A2 (lighter shade) work well with #D238D7.