#9D8DDF Color Information

Hex color code: #9D8DDF

The hex color #9D8DDF is a calming blue with RGB values of (157, 141, 223) and HSL of (252°, 56%, 71%). It is frequently seen in web interfaces.

Try:
Color NameMedium Purple
HEX
#9D8DDF
RGB
157, 141, 223
HSL
252°, 56%, 71%
CMYK
30%, 37%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #9D8DDF; 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 #9D8DDF; background-color: #9D8DDF15; }

Alert / Toast

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

Link / Accent

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

a { color: #9D8DDF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #9D8DDF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

157, 141, 223

Red: 157 / Green: 141 / Blue: 223

HSL

252°, 56%, 71%

Hue: 252° / Saturation: 56% / Lightness: 71%

CMYK

30%, 37%, 0%, 13%

Cyan: 30% / Magenta: 37% / Yellow: 0% / Key: 13%

What color is #9D8DDF?

#9D8DDF is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9D8DDF to RGB:

rgb(157, 141, 223)HEX to RGB Converter →

HEX to HSL

Convert #9D8DDF to HSL:

hsl(252, 56%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #9D8DDF to CMYK:

cmyk(30%, 37%, 0%, 13%)Color Converter →

Color Meaning and Usage

A calming blue tone, #9D8DDF has RGB (157, 141, 223) and HSL (252°, 56%, 71%). 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 #9D8DDF is #CEDE8C, creating high-contrast pairings. For softer combinations, try analogous colors like #8CA4DE.

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

Contrast with #9D8DDF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9D8DDF?

#9D8DDF is a calming blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #9D8DDF?

#9D8DDF in RGB is (157, 141, 223) - 157 red, 141 green, and 223 blue.

How to use #9D8DDF in CSS?

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

What colors go well with #9D8DDF?

#CEDE8C (complementary), #8CA4DE (analogous), and #6950CE (lighter shade) work well with #9D8DDF.