#D162EA Color Information

Hex color code: #D162EA

#D162EA is a vivid magenta color. In RGB it is (209, 98, 234), and in HSL it is (289°, 76%, 65%). It is commonly used in modern UI design.

Try:
Color NameMedium Orchid
HEX
#D162EA
RGB
209, 98, 234
HSL
289°, 76%, 65%
CMYK
11%, 58%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D162EA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

209, 98, 234

Red: 209 / Green: 98 / Blue: 234

HSL

289°, 76%, 65%

Hue: 289° / Saturation: 76% / Lightness: 65%

CMYK

11%, 58%, 0%, 8%

Cyan: 11% / Magenta: 58% / Yellow: 0% / Key: 8%

What color is #D162EA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D162EA to RGB:

rgb(209, 98, 234)HEX to RGB Converter →

HEX to HSL

Convert #D162EA to HSL:

hsl(289, 76%, 65%)RGB to HSL Converter →

HEX to CMYK

Convert #D162EA to CMYK:

cmyk(11%, 58%, 0%, 8%)Color Converter →

Color Meaning and Usage

A vivid magenta tone, #D162EA has RGB (209, 98, 234) and HSL (289°, 76%, 65%). Known for evoking romance and playfulness, this magenta-red hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D162EA is #7BEA62, creating high-contrast pairings. For softer combinations, try analogous colors like #8D62EA.

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

Contrast with #D162EA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D162EA?

#D162EA is a vivid magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D162EA?

#D162EA in RGB is (209, 98, 234) - 209 red, 98 green, and 234 blue.

How to use #D162EA in CSS?

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

What colors go well with #D162EA?

#7BEA62 (complementary), #8D62EA (analogous), and #BD1FE0 (lighter shade) work well with #D162EA.