#CCA8F5 Color Information

Hex color code: #CCA8F5

#CCA8F5 is a airy purple color. In RGB it is (204, 168, 245), and in HSL it is (268°, 79%, 81%). It is widely used in graphic design.

Try:
Color NamePlum
HEX
#CCA8F5
RGB
204, 168, 245
HSL
268°, 79%, 81%
CMYK
17%, 31%, 0%, 4%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CCA8F5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

204, 168, 245

Red: 204 / Green: 168 / Blue: 245

HSL

268°, 79%, 81%

Hue: 268° / Saturation: 79% / Lightness: 81%

CMYK

17%, 31%, 0%, 4%

Cyan: 17% / Magenta: 31% / Yellow: 0% / Key: 4%

What color is #CCA8F5?

#CCA8F5 is a very light tint associated with purity and simplicity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CCA8F5 to RGB:

rgb(204, 168, 245)HEX to RGB Converter →

HEX to HSL

Convert #CCA8F5 to HSL:

hsl(268, 79%, 81%)RGB to HSL Converter →

HEX to CMYK

Convert #CCA8F5 to CMYK:

cmyk(17%, 31%, 0%, 4%)Color Converter →

Color Meaning and Usage

#CCA8F5 is a delicate purple color with RGB values of 204, 168, 245 and HSL of 268°, 79%, 81%. This very light tint evokes purity and simplicity, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CCA8F5 is #D1F5A8, creating high-contrast pairings. For softer combinations, try analogous colors like #A8ABF5.

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

Contrast with #CCA8F5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CCA8F5?

#CCA8F5 is a delicate purple color - a very light tint that evokes purity and simplicity.

What is the RGB value of #CCA8F5?

#CCA8F5 in RGB is (204, 168, 245) - 204 red, 168 green, and 245 blue.

How to use #CCA8F5 in CSS?

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

What colors go well with #CCA8F5?

#D1F5A8 (complementary), #A8ABF5 (analogous), and #A464ED (lighter shade) work well with #CCA8F5.