#9870ED Color Information

Hex color code: #9870ED

A eye-catching purple shade, #9870ED appears as (152, 112, 237) in RGB and (259°, 78%, 68%) in HSL. It is widely used in graphic design.

Try:
Color NameMedium Purple
HEX
#9870ED
RGB
152, 112, 237
HSL
259°, 78%, 68%
CMYK
36%, 53%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #9870ED; 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 #9870ED; background-color: #9870ED15; }

Alert / Toast

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

Link / Accent

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

a { color: #9870ED; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #9870ED in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

152, 112, 237

Red: 152 / Green: 112 / Blue: 237

HSL

259°, 78%, 68%

Hue: 259° / Saturation: 78% / Lightness: 68%

CMYK

36%, 53%, 0%, 7%

Cyan: 36% / Magenta: 53% / Yellow: 0% / Key: 7%

What color is #9870ED?

#9870ED is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9870ED to RGB:

rgb(152, 112, 237)HEX to RGB Converter →

HEX to HSL

Convert #9870ED to HSL:

hsl(259, 78%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #9870ED to CMYK:

cmyk(36%, 53%, 0%, 7%)Color Converter →

Color Meaning and Usage

A bold purple tone, #9870ED has RGB (152, 112, 237) and HSL (259°, 78%, 68%). Known for evoking creativity and luxury, this blue-purple hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9870ED is #C5ED6E, creating high-contrast pairings. For softer combinations, try analogous colors like #6E85ED.

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

Contrast with #9870ED

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9870ED?

#9870ED is a bold purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #9870ED?

#9870ED in RGB is (152, 112, 237) - 152 red, 112 green, and 237 blue.

How to use #9870ED in CSS?

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

What colors go well with #9870ED?

#C5ED6E (complementary), #6E85ED (analogous), and #652AE5 (lighter shade) work well with #9870ED.