Skip to content

#f2dffd

a pale, electric violet · warm · closest name: lavender

RGB
242, 223, 253
HSL
278°, 88%, 93%
CMYK
4, 12, 0, 1
Luminance
0.7874

Every format

HEX#f2dffd
RGBrgb(242, 223, 253)
HSLhsl(278, 88%, 93%)
CMYKcmyk(4%, 12%, 0%, 1%)
LABlab(91.1 11.8 -12.2)
LCHlch(91.1 17.0 314.1)
OKLCHoklch(0.928 0.045 313.3)

Copy-ready code

/* CSS */
color: #f2dffd;
background-color: #f2dffd;
/* Tailwind (arbitrary) */
class="text-[#f2dffd] bg-[#f2dffd]"
/* SCSS */
$brand: #f2dffd;
/* SwiftUI */
Color(red: 0.949, green: 0.875, blue: 0.992)
/* Android */
Color.parseColor("#f2dffd")

Accessibility — WCAG contrast

Aa
#f2dffd on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#f2dffd on black: 16.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green87.5%
Blue99.2%

CMYK percentages

Cyan4.3%
Magenta11.9%
Yellow0.0%
Key (black)0.8%

Color previews

#f2dffd text on a black background

contrast 16.75:1

Card sample

#f2dffd text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #f2dffd;
Background color
Panel with #f2dffd background
background-color: #f2dffd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #f2dffd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(242, 223, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 223, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2dffd;
background: linear-gradient(135deg, #f2dffd, #FDDFF4);

Monochromatic scale

Palettes built from #f2dffd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2dffd in the Color Lab