#A768DF Color Information

Hex color code: #A768DF

#A768DF is a understated purple color. In RGB it is (167, 104, 223), and in HSL it is (272°, 65%, 64%). It is widely used in graphic design.

Try:
Color NameMedium Purple
HEX
#A768DF
RGB
167, 104, 223
HSL
272°, 65%, 64%
CMYK
25%, 53%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A768DF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

167, 104, 223

Red: 167 / Green: 104 / Blue: 223

HSL

272°, 65%, 64%

Hue: 272° / Saturation: 65% / Lightness: 64%

CMYK

25%, 53%, 0%, 13%

Cyan: 25% / Magenta: 53% / Yellow: 0% / Key: 13%

What color is #A768DF?

#A768DF is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A768DF to RGB:

rgb(167, 104, 223)HEX to RGB Converter →

HEX to HSL

Convert #A768DF to HSL:

hsl(272, 65%, 64%)RGB to HSL Converter →

HEX to CMYK

Convert #A768DF to CMYK:

cmyk(25%, 53%, 0%, 13%)Color Converter →

Color Meaning and Usage

A balanced purple tone, #A768DF has RGB (167, 104, 223) and HSL (272°, 65%, 64%). Known for evoking romance and playfulness, this magenta-red hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A768DF is #9FDF68, creating high-contrast pairings. For softer combinations, try analogous colors like #6C68DF.

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

Contrast with #A768DF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A768DF?

#A768DF is a balanced purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #A768DF?

#A768DF in RGB is (167, 104, 223) - 167 red, 104 green, and 223 blue.

How to use #A768DF in CSS?

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

What colors go well with #A768DF?

#9FDF68 (complementary), #6C68DF (analogous), and #822CCE (lighter shade) work well with #A768DF.