Skip to content

#f2eefe

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

RGB
242, 238, 254
HSL
255°, 89%, 97%
CMYK
5, 6, 0, 0
Luminance
0.8718

Every format

HEX#f2eefe
RGBrgb(242, 238, 254)
HSLhsl(255, 89%, 97%)
CMYKcmyk(5%, 6%, 0%, 0%)
LABlab(94.8 4.2 -7.2)
LCHlch(94.8 8.4 300.3)
OKLCHoklch(0.957 0.022 297.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green93.3%
Blue99.6%

CMYK percentages

Cyan4.7%
Magenta6.3%
Yellow0.0%
Key (black)0.4%

Color previews

#f2eefe text on a black background

contrast 18.44:1

Card sample

#f2eefe text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2eefe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2eefe in the Color Lab