#9D7DEF Color Information

Hex color code: #9D7DEF

#9D7DEF is a striking purple color. In RGB it is (157, 125, 239), and in HSL it is (257°, 78%, 71%). It is often used for branding and logos.

Try:
Color NameMedium Purple
HEX
#9D7DEF
RGB
157, 125, 239
HSL
257°, 78%, 71%
CMYK
34%, 48%, 0%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #9D7DEF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

157, 125, 239

Red: 157 / Green: 125 / Blue: 239

HSL

257°, 78%, 71%

Hue: 257° / Saturation: 78% / Lightness: 71%

CMYK

34%, 48%, 0%, 6%

Cyan: 34% / Magenta: 48% / Yellow: 0% / Key: 6%

What color is #9D7DEF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9D7DEF to RGB:

rgb(157, 125, 239)HEX to RGB Converter →

HEX to HSL

Convert #9D7DEF to HSL:

hsl(257, 78%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #9D7DEF to CMYK:

cmyk(34%, 48%, 0%, 6%)Color Converter →

Color Meaning and Usage

A eye-catching purple tone, #9D7DEF has RGB (157, 125, 239) and HSL (257°, 78%, 71%). Known for evoking creativity and luxury, this blue-purple hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9D7DEF is #CEEF7B, creating high-contrast pairings. For softer combinations, try analogous colors like #7B94EF.

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

Contrast with #9D7DEF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9D7DEF?

#9D7DEF is a eye-catching purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #9D7DEF?

#9D7DEF in RGB is (157, 125, 239) - 157 red, 125 green, and 239 blue.

How to use #9D7DEF in CSS?

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

What colors go well with #9D7DEF?

#CEEF7B (complementary), #7B94EF (analogous), and #6937E6 (lighter shade) work well with #9D7DEF.