#9F78E5 Color Information

Hex color code: #9F78E5

The hex color #9F78E5 is a cool purple with RGB values of (159, 120, 229) and HSL of (261°, 68%, 68%). It is commonly used in modern UI design.

Try:
Color NameMedium Purple
HEX
#9F78E5
RGB
159, 120, 229
HSL
261°, 68%, 68%
CMYK
31%, 48%, 0%, 10%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #9F78E5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

159, 120, 229

Red: 159 / Green: 120 / Blue: 229

HSL

261°, 68%, 68%

Hue: 261° / Saturation: 68% / Lightness: 68%

CMYK

31%, 48%, 0%, 10%

Cyan: 31% / Magenta: 48% / Yellow: 0% / Key: 10%

What color is #9F78E5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9F78E5 to RGB:

rgb(159, 120, 229)HEX to RGB Converter →

HEX to HSL

Convert #9F78E5 to HSL:

hsl(261, 68%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #9F78E5 to CMYK:

cmyk(31%, 48%, 0%, 10%)Color Converter →

Color Meaning and Usage

A calming purple tone, #9F78E5 has RGB (159, 120, 229) and HSL (261°, 68%, 68%). Known for evoking creativity and luxury, this blue-purple hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9F78E5 is #BEE576, creating high-contrast pairings. For softer combinations, try analogous colors like #7687E5.

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

Contrast with #9F78E5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9F78E5?

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

What is the RGB value of #9F78E5?

#9F78E5 in RGB is (159, 120, 229) - 159 red, 120 green, and 229 blue.

How to use #9F78E5 in CSS?

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

What colors go well with #9F78E5?

#BEE576 (complementary), #7687E5 (analogous), and #6F36D9 (lighter shade) work well with #9F78E5.