Skip to content

#f2eefa

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

RGB
242, 238, 250
HSL
260°, 55%, 96%
CMYK
3, 5, 0, 2
Luminance
0.8693

Every format

HEX#f2eefa
RGBrgb(242, 238, 250)
HSLhsl(260, 55%, 96%)
CMYKcmyk(3%, 5%, 0%, 2%)
LABlab(94.7 3.5 -5.3)
LCHlch(94.7 6.3 303.3)
OKLCHoklch(0.956 0.017 301.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green93.3%
Blue98.0%

CMYK percentages

Cyan3.2%
Magenta4.8%
Yellow0.0%
Key (black)2.0%

Color previews

#f2eefa text on a black background

contrast 18.39:1

Card sample

#f2eefa text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2eefa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2eefa in the Color Lab