#A797ED Color Information

Hex color code: #A797ED

A delicate blue shade, #A797ED appears as (167, 151, 237) in RGB and (251°, 70%, 76%) in HSL. It is popular in mobile app design.

Try:
Color NameMedium Purple
HEX
#A797ED
RGB
167, 151, 237
HSL
251°, 70%, 76%
CMYK
30%, 36%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #A797ED; 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 #A797ED; background-color: #A797ED15; }

Alert / Toast

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

Link / Accent

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

a { color: #A797ED; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #A797ED in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

167, 151, 237

Red: 167 / Green: 151 / Blue: 237

HSL

251°, 70%, 76%

Hue: 251° / Saturation: 70% / Lightness: 76%

CMYK

30%, 36%, 0%, 7%

Cyan: 30% / Magenta: 36% / Yellow: 0% / Key: 7%

What color is #A797ED?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A797ED to RGB:

rgb(167, 151, 237)HEX to RGB Converter →

HEX to HSL

Convert #A797ED to HSL:

hsl(251, 70%, 76%)RGB to HSL Converter →

HEX to CMYK

Convert #A797ED to CMYK:

cmyk(30%, 36%, 0%, 7%)Color Converter →

Color Meaning and Usage

#A797ED is a airy blue color with RGB values of 167, 151, 237 and HSL of 251°, 70%, 76%. This blue-purple hue evokes creativity and luxury, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A797ED is #DDED97, creating high-contrast pairings. For softer combinations, try analogous colors like #97B2ED.

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

Contrast with #A797ED

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A797ED?

#A797ED is a airy blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #A797ED?

#A797ED in RGB is (167, 151, 237) - 167 red, 151 green, and 237 blue.

How to use #A797ED in CSS?

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

What colors go well with #A797ED?

#DDED97 (complementary), #97B2ED (analogous), and #6F56E1 (lighter shade) work well with #A797ED.