#9172DF Color Information

Hex color code: #9172DF

#9172DF is a calming purple color. In RGB it is (145, 114, 223), and in HSL it is (257°, 63%, 66%). It is frequently seen in web interfaces.

Try:
Color NameMedium Purple
HEX
#9172DF
RGB
145, 114, 223
HSL
257°, 63%, 66%
CMYK
35%, 49%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #9172DF; 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 #9172DF; background-color: #9172DF15; }

Alert / Toast

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

Link / Accent

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

a { color: #9172DF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #9172DF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

145, 114, 223

Red: 145 / Green: 114 / Blue: 223

HSL

257°, 63%, 66%

Hue: 257° / Saturation: 63% / Lightness: 66%

CMYK

35%, 49%, 0%, 13%

Cyan: 35% / Magenta: 49% / Yellow: 0% / Key: 13%

What color is #9172DF?

#9172DF is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9172DF to RGB:

rgb(145, 114, 223)HEX to RGB Converter →

HEX to HSL

Convert #9172DF to HSL:

hsl(257, 63%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #9172DF to CMYK:

cmyk(35%, 49%, 0%, 13%)Color Converter →

Color Meaning and Usage

#9172DF is a calming purple color with RGB values of 145, 114, 223 and HSL of 257°, 63%, 66%. This blue-purple hue evokes creativity and luxury, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9172DF is #C0DF72, creating high-contrast pairings. For softer combinations, try analogous colors like #7289DF.

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

Contrast with #9172DF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9172DF?

#9172DF is a calming purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #9172DF?

#9172DF in RGB is (145, 114, 223) - 145 red, 114 green, and 223 blue.

How to use #9172DF in CSS?

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

What colors go well with #9172DF?

#C0DF72 (complementary), #7289DF (analogous), and #6033D1 (lighter shade) work well with #9172DF.