#AB96CF Color Information

Hex color code: #AB96CF

The hex color #AB96CF is a pastel purple with RGB values of (171, 150, 207) and HSL of (262°, 37%, 70%). It is commonly used in modern UI design.

Try:
Color NameMedium Purple
HEX
#AB96CF
RGB
171, 150, 207
HSL
262°, 37%, 70%
CMYK
17%, 28%, 0%, 19%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB96CF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 150, 207

Red: 171 / Green: 150 / Blue: 207

HSL

262°, 37%, 70%

Hue: 262° / Saturation: 37% / Lightness: 70%

CMYK

17%, 28%, 0%, 19%

Cyan: 17% / Magenta: 28% / Yellow: 0% / Key: 19%

What color is #AB96CF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB96CF to RGB:

rgb(171, 150, 207)HEX to RGB Converter →

HEX to HSL

Convert #AB96CF to HSL:

hsl(262, 37%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #AB96CF to CMYK:

cmyk(17%, 28%, 0%, 19%)Color Converter →

Color Meaning and Usage

#AB96CF is a pastel purple color with RGB values of 171, 150, 207 and HSL of 262°, 37%, 70%. This blue-purple hue evokes creativity and luxury, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB96CF is #BACF96, creating high-contrast pairings. For softer combinations, try analogous colors like #969ECF.

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

Contrast with #AB96CF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB96CF?

#AB96CF is a pastel purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #AB96CF?

#AB96CF in RGB is (171, 150, 207) - 171 red, 150 green, and 207 blue.

How to use #AB96CF in CSS?

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

What colors go well with #AB96CF?

#BACF96 (complementary), #969ECF (analogous), and #8162B7 (lighter shade) work well with #AB96CF.