Skip to content

#f0effd

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

RGB
240, 239, 253
HSL
244°, 78%, 97%
CMYK
5, 6, 0, 1
Luminance
0.8735

Every format

HEX#f0effd
RGBrgb(240, 239, 253)
HSLhsl(244, 78%, 97%)
CMYKcmyk(5%, 6%, 0%, 1%)
LABlab(94.9 2.9 -6.6)
LCHlch(94.9 7.2 293.5)
OKLCHoklch(0.957 0.019 289.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green93.7%
Blue99.2%

CMYK percentages

Cyan5.1%
Magenta5.5%
Yellow0.0%
Key (black)0.8%

Color previews

#f0effd text on a black background

contrast 18.47:1

Card sample

#f0effd text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0effd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0effd in the Color Lab