#9797CE Color Information

Hex color code: #9797CE

A soft blue shade, #9797CE appears as (151, 151, 206) in RGB and (240°, 36%, 70%) in HSL. It is widely used in graphic design.

Try:
Color NameMedium Purple
HEX
#9797CE
RGB
151, 151, 206
HSL
240°, 36%, 70%
CMYK
27%, 27%, 0%, 19%

Shades

CSS Usage
color: #9797CE;
background-color: #9797CE;
border-color: #9797CE;
box-shadow: 0 0 10px #9797CE;
border: 2px solid #9797CE;
Tailwind Usage
bg-[#9797CE]
text-[#9797CE]
border-[#9797CE]
shadow-[0_0_10px_9797CE]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #9797CE, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #9797CE; color: #000000; }

Badge

New Feature
.badge { background-color: #9797CE; 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 #9797CE; background-color: #9797CE15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #9797CE20; border-left: 4px solid #9797CE; }

Link / Accent

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

a { color: #9797CE; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #9797CE in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

151, 151, 206

Red: 151 / Green: 151 / Blue: 206

HSL

240°, 36%, 70%

Hue: 240° / Saturation: 36% / Lightness: 70%

CMYK

27%, 27%, 0%, 19%

Cyan: 27% / Magenta: 27% / Yellow: 0% / Key: 19%

What color is #9797CE?

#9797CE is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9797CE to RGB:

rgb(151, 151, 206)HEX to RGB Converter →

HEX to HSL

Convert #9797CE to HSL:

hsl(240, 36%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #9797CE to CMYK:

cmyk(27%, 27%, 0%, 19%)Color Converter →

Color Meaning and Usage

#9797CE is a soft blue color with RGB values of 151, 151, 206 and HSL of 240°, 36%, 70%. This blue-purple hue evokes creativity and luxury, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9797CE is #CECE97, creating high-contrast pairings. For softer combinations, try analogous colors like #97B3CE.

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

Contrast with #9797CE

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9797CE?

#9797CE is a soft blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #9797CE?

#9797CE in RGB is (151, 151, 206) - 151 red, 151 green, and 206 blue.

How to use #9797CE in CSS?

Use #9797CE directly in your CSS properties like color or background-color.

What colors go well with #9797CE?

#CECE97 (complementary), #97B3CE (analogous), and #6363B6 (lighter shade) work well with #9797CE.