#ED87F2 Color Information

Hex color code: #ED87F2

A dynamic magenta shade, #ED87F2 appears as (237, 135, 242) in RGB and (297°, 80%, 74%) in HSL. It is typically applied in digital products.

Try:
Color NameViolet
HEX
#ED87F2
RGB
237, 135, 242
HSL
297°, 80%, 74%
CMYK
2%, 44%, 0%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #ED87F2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

237, 135, 242

Red: 237 / Green: 135 / Blue: 242

HSL

297°, 80%, 74%

Hue: 297° / Saturation: 80% / Lightness: 74%

CMYK

2%, 44%, 0%, 5%

Cyan: 2% / Magenta: 44% / Yellow: 0% / Key: 5%

What color is #ED87F2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #ED87F2 to RGB:

rgb(237, 135, 242)HEX to RGB Converter →

HEX to HSL

Convert #ED87F2 to HSL:

hsl(297, 80%, 74%)RGB to HSL Converter →

HEX to CMYK

Convert #ED87F2 to CMYK:

cmyk(2%, 44%, 0%, 5%)Color Converter →

Color Meaning and Usage

A vivid magenta tone, #ED87F2 has RGB (237, 135, 242) and HSL (297°, 80%, 74%). 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 #ED87F2 is #8DF288, creating high-contrast pairings. For softer combinations, try analogous colors like #B788F2.

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

Contrast with #ED87F2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #ED87F2?

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

What is the RGB value of #ED87F2?

#ED87F2 in RGB is (237, 135, 242) - 237 red, 135 green, and 242 blue.

How to use #ED87F2 in CSS?

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

What colors go well with #ED87F2?

#8DF288 (complementary), #B788F2 (analogous), and #E243EA (lighter shade) work well with #ED87F2.