#CBA7EC Color Information

Hex color code: #CBA7EC

The hex color #CBA7EC is a airy purple with RGB values of (203, 167, 236) and HSL of (271°, 64%, 79%). It is widely used in graphic design.

Try:
Color NamePlum
HEX
#CBA7EC
RGB
203, 167, 236
HSL
271°, 64%, 79%
CMYK
14%, 29%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CBA7EC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

203, 167, 236

Red: 203 / Green: 167 / Blue: 236

HSL

271°, 64%, 79%

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

CMYK

14%, 29%, 0%, 7%

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

What color is #CBA7EC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CBA7EC to RGB:

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

HEX to HSL

Convert #CBA7EC to HSL:

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

HEX to CMYK

Convert #CBA7EC to CMYK:

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

Color Meaning and Usage

#CBA7EC is a delicate purple color with RGB values of 203, 167, 236 and HSL of 271°, 64%, 79%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CBA7EC is #C8ECA7, creating high-contrast pairings. For softer combinations, try analogous colors like #A8A7EC.

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

Contrast with #CBA7EC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CBA7EC?

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

What is the RGB value of #CBA7EC?

#CBA7EC in RGB is (203, 167, 236) - 203 red, 167 green, and 236 blue.

How to use #CBA7EC in CSS?

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

What colors go well with #CBA7EC?

#C8ECA7 (complementary), #A8A7EC (analogous), and #A568DE (lighter shade) work well with #CBA7EC.