#CFA7F2 Color Information

Hex color code: #CFA7F2

A light purple shade, #CFA7F2 appears as (207, 167, 242) in RGB and (272°, 74%, 80%) in HSL. It is commonly used in modern UI design.

Try:
Color NamePlum
HEX
#CFA7F2
RGB
207, 167, 242
HSL
272°, 74%, 80%
CMYK
14%, 31%, 0%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CFA7F2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

207, 167, 242

Red: 207 / Green: 167 / Blue: 242

HSL

272°, 74%, 80%

Hue: 272° / Saturation: 74% / Lightness: 80%

CMYK

14%, 31%, 0%, 5%

Cyan: 14% / Magenta: 31% / Yellow: 0% / Key: 5%

What color is #CFA7F2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CFA7F2 to RGB:

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

HEX to HSL

Convert #CFA7F2 to HSL:

hsl(272, 74%, 80%)RGB to HSL Converter →

HEX to CMYK

Convert #CFA7F2 to CMYK:

cmyk(14%, 31%, 0%, 5%)Color Converter →

Color Meaning and Usage

A delicate purple tone, #CFA7F2 has RGB (207, 167, 242) and HSL (272°, 74%, 80%). Known for evoking romance and playfulness, this magenta-red hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CFA7F2 is #C9F2A6, creating high-contrast pairings. For softer combinations, try analogous colors like #A9A6F2.

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

Contrast with #CFA7F2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CFA7F2?

#CFA7F2 is a delicate purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #CFA7F2?

#CFA7F2 in RGB is (207, 167, 242) - 207 red, 167 green, and 242 blue.

How to use #CFA7F2 in CSS?

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

What colors go well with #CFA7F2?

#C9F2A6 (complementary), #A9A6F2 (analogous), and #AA64E8 (lighter shade) work well with #CFA7F2.