Skip to content

#f2eefd

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

RGB
242, 238, 253
HSL
256°, 79%, 96%
CMYK
4, 6, 0, 1
Luminance
0.8712

Every format

HEX#f2eefd
RGBrgb(242, 238, 253)
HSLhsl(256, 79%, 96%)
CMYKcmyk(4%, 6%, 0%, 1%)
LABlab(94.8 4.0 -6.7)
LCHlch(94.8 7.8 300.9)
OKLCHoklch(0.957 0.020 298.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2eefd on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#f2eefd on black: 18.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green93.3%
Blue99.2%

CMYK percentages

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

Color previews

#f2eefd text on a black background

contrast 18.42:1

Card sample

#f2eefd text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2eefd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2eefd in the Color Lab