#9170ED Color Information

Hex color code: #9170ED

#9170ED is a bold purple color. In RGB it is (145, 112, 237), and in HSL it is (256°, 78%, 68%). It is frequently seen in web interfaces.

Try:
Color NameMedium Purple
HEX
#9170ED
RGB
145, 112, 237
HSL
256°, 78%, 68%
CMYK
39%, 53%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #9170ED; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

145, 112, 237

Red: 145 / Green: 112 / Blue: 237

HSL

256°, 78%, 68%

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

CMYK

39%, 53%, 0%, 7%

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

What color is #9170ED?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9170ED to RGB:

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

HEX to HSL

Convert #9170ED to HSL:

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

HEX to CMYK

Convert #9170ED to CMYK:

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

Color Meaning and Usage

A dynamic purple tone, #9170ED has RGB (145, 112, 237) and HSL (256°, 78%, 68%). Known for evoking creativity and luxury, this blue-purple hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9170ED is #CBED6E, creating high-contrast pairings. For softer combinations, try analogous colors like #6E8BED.

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

Contrast with #9170ED

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9170ED?

#9170ED is a dynamic purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #9170ED?

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

How to use #9170ED in CSS?

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

What colors go well with #9170ED?

#CBED6E (complementary), #6E8BED (analogous), and #5C2AE5 (lighter shade) work well with #9170ED.