#CFA7EC Color Information

Hex color code: #CFA7EC

A delicate purple shade, #CFA7EC appears as (207, 167, 236) in RGB and (275°, 64%, 79%) in HSL. It is often used for branding and logos.

Try:
Color NamePlum
HEX
#CFA7EC
RGB
207, 167, 236
HSL
275°, 64%, 79%
CMYK
12%, 29%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CFA7EC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

207, 167, 236

Red: 207 / Green: 167 / Blue: 236

HSL

275°, 64%, 79%

Hue: 275° / Saturation: 64% / Lightness: 79%

CMYK

12%, 29%, 0%, 7%

Cyan: 12% / Magenta: 29% / Yellow: 0% / Key: 7%

What color is #CFA7EC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CFA7EC to RGB:

rgb(207, 167, 236)HEX to RGB Converter →

HEX to HSL

Convert #CFA7EC to HSL:

hsl(275, 64%, 79%)RGB to HSL Converter →

HEX to CMYK

Convert #CFA7EC to CMYK:

cmyk(12%, 29%, 0%, 7%)Color Converter →

Color Meaning and Usage

A ethereal purple tone, #CFA7EC has RGB (207, 167, 236) and HSL (275°, 64%, 79%). Known for evoking romance and playfulness, this magenta-red hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CFA7EC is #C4ECA7, creating high-contrast pairings. For softer combinations, try analogous colors like #ADA7EC.

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

Contrast with #CFA7EC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CFA7EC?

#CFA7EC is a ethereal purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #CFA7EC?

#CFA7EC in RGB is (207, 167, 236) - 207 red, 167 green, and 236 blue.

How to use #CFA7EC in CSS?

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

What colors go well with #CFA7EC?

#C4ECA7 (complementary), #ADA7EC (analogous), and #AD68DE (lighter shade) work well with #CFA7EC.