#F0DAFA Color Information

Hex color code: #F0DAFA

The hex color #F0DAFA is a light purple with RGB values of (240, 218, 250) and HSL of (281°, 76%, 92%). It is frequently seen in web interfaces.

Try:
Color NameLavender
HEX
#F0DAFA
RGB
240, 218, 250
HSL
281°, 76%, 92%
CMYK
4%, 13%, 0%, 2%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F0DAFA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

240, 218, 250

Red: 240 / Green: 218 / Blue: 250

HSL

281°, 76%, 92%

Hue: 281° / Saturation: 76% / Lightness: 92%

CMYK

4%, 13%, 0%, 2%

Cyan: 4% / Magenta: 13% / Yellow: 0% / Key: 2%

What color is #F0DAFA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F0DAFA to RGB:

rgb(240, 218, 250)HEX to RGB Converter →

HEX to HSL

Convert #F0DAFA to HSL:

hsl(281, 76%, 92%)RGB to HSL Converter →

HEX to CMYK

Convert #F0DAFA to CMYK:

cmyk(4%, 13%, 0%, 2%)Color Converter →

Color Meaning and Usage

#F0DAFA is a light purple color with RGB values of 240, 218, 250 and HSL of 281°, 76%, 92%. This very light tint evokes purity and simplicity, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F0DAFA is #E5FADB, creating high-contrast pairings. For softer combinations, try analogous colors like #E1DBFA.

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

Contrast with #F0DAFA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F0DAFA?

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

What is the RGB value of #F0DAFA?

#F0DAFA in RGB is (240, 218, 250) - 240 red, 218 green, and 250 blue.

How to use #F0DAFA in CSS?

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

What colors go well with #F0DAFA?

#E5FADB (complementary), #E1DBFA (analogous), and #D598F1 (lighter shade) work well with #F0DAFA.