#F2DFFB Color Information

Hex color code: #F2DFFB

#F2DFFB is a light purple color. In RGB it is (242, 223, 251), and in HSL it is (281°, 78%, 93%). It is commonly used in modern UI design.

Try:
Color NameLavender
HEX
#F2DFFB
RGB
242, 223, 251
HSL
281°, 78%, 93%
CMYK
4%, 11%, 0%, 2%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F2DFFB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 223, 251

Red: 242 / Green: 223 / Blue: 251

HSL

281°, 78%, 93%

Hue: 281° / Saturation: 78% / Lightness: 93%

CMYK

4%, 11%, 0%, 2%

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

What color is #F2DFFB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F2DFFB to RGB:

rgb(242, 223, 251)HEX to RGB Converter →

HEX to HSL

Convert #F2DFFB to HSL:

hsl(281, 78%, 93%)RGB to HSL Converter →

HEX to CMYK

Convert #F2DFFB to CMYK:

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

Color Meaning and Usage

A light purple tone, #F2DFFB has RGB (242, 223, 251) and HSL (281°, 78%, 93%). Known for evoking purity and simplicity, this very light tint is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F2DFFB is #E8FBDF, creating high-contrast pairings. For softer combinations, try analogous colors like #E4DFFB.

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

Contrast with #F2DFFB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F2DFFB?

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

What is the RGB value of #F2DFFB?

#F2DFFB in RGB is (242, 223, 251) - 242 red, 223 green, and 251 blue.

How to use #F2DFFB in CSS?

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

What colors go well with #F2DFFB?

#E8FBDF (complementary), #E4DFFB (analogous), and #D79BF3 (lighter shade) work well with #F2DFFB.