#F0CCFF Color Information

Hex color code: #F0CCFF

The hex color #F0CCFF is a soft purple with RGB values of (240, 204, 255) and HSL of (282°, 100%, 90%). It is often used for branding and logos.

Try:
Color NameLavender
HEX
#F0CCFF
RGB
240, 204, 255
HSL
282°, 100%, 90%
CMYK
6%, 20%, 0%, 0%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F0CCFF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

240, 204, 255

Red: 240 / Green: 204 / Blue: 255

HSL

282°, 100%, 90%

Hue: 282° / Saturation: 100% / Lightness: 90%

CMYK

6%, 20%, 0%, 0%

Cyan: 6% / Magenta: 20% / Yellow: 0% / Key: 0%

What color is #F0CCFF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F0CCFF to RGB:

rgb(240, 204, 255)HEX to RGB Converter →

HEX to HSL

Convert #F0CCFF to HSL:

hsl(282, 100%, 90%)RGB to HSL Converter →

HEX to CMYK

Convert #F0CCFF to CMYK:

cmyk(6%, 20%, 0%, 0%)Color Converter →

Color Meaning and Usage

A light purple tone, #F0CCFF has RGB (240, 204, 255) and HSL (282°, 100%, 90%). Known for evoking purity and simplicity, this very light tint is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F0CCFF is #DBFFCC, creating high-contrast pairings. For softer combinations, try analogous colors like #D6CCFF.

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

Contrast with #F0CCFF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F0CCFF?

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

What is the RGB value of #F0CCFF?

#F0CCFF in RGB is (240, 204, 255) - 240 red, 204 green, and 255 blue.

How to use #F0CCFF in CSS?

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

What colors go well with #F0CCFF?

#DBFFCC (complementary), #D6CCFF (analogous), and #D980FF (lighter shade) work well with #F0CCFF.