#7F6DAB Color Information

Hex color code: #7F6DAB

The hex color #7F6DAB is a gentle purple with RGB values of (127, 109, 171) and HSL of (257°, 27%, 55%). It is frequently seen in web interfaces.

Try:
Color NameLight Slate Gray
HEX
#7F6DAB
RGB
127, 109, 171
HSL
257°, 27%, 55%
CMYK
26%, 36%, 0%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #7F6DAB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #7F6DAB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

127, 109, 171

Red: 127 / Green: 109 / Blue: 171

HSL

257°, 27%, 55%

Hue: 257° / Saturation: 27% / Lightness: 55%

CMYK

26%, 36%, 0%, 33%

Cyan: 26% / Magenta: 36% / Yellow: 0% / Key: 33%

What color is #7F6DAB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7F6DAB to RGB:

rgb(127, 109, 171)HEX to RGB Converter →

HEX to HSL

Convert #7F6DAB to HSL:

hsl(257, 27%, 55%)RGB to HSL Converter →

HEX to CMYK

Convert #7F6DAB to CMYK:

cmyk(26%, 36%, 0%, 33%)Color Converter →

Color Meaning and Usage

A gentle purple tone, #7F6DAB has RGB (127, 109, 171) and HSL (257°, 27%, 55%). Known for evoking creativity and luxury, this blue-purple hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7F6DAB is #9AAB6D, creating high-contrast pairings. For softer combinations, try analogous colors like #6D7BAB.

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

Contrast with #7F6DAB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7F6DAB?

#7F6DAB is a gentle purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #7F6DAB?

#7F6DAB in RGB is (127, 109, 171) - 127 red, 109 green, and 171 blue.

How to use #7F6DAB in CSS?

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

What colors go well with #7F6DAB?

#9AAB6D (complementary), #6D7BAB (analogous), and #5A4A82 (lighter shade) work well with #7F6DAB.