Skip to content

#f0eff2

a pale, muted violet · warm · closest name: white

RGB
240, 239, 242
HSL
260°, 10%, 94%
CMYK
1, 1, 0, 5
Luminance
0.8667

Every format

HEX#f0eff2
RGBrgb(240, 239, 242)
HSLhsl(260, 10%, 94%)
CMYKcmyk(1%, 1%, 0%, 5%)
LABlab(94.6 0.9 -1.3)
LCHlch(94.6 1.6 303.2)
OKLCHoklch(0.954 0.004 301.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0eff2 on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#f0eff2 on black: 18.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green93.7%
Blue94.9%

CMYK percentages

Cyan0.8%
Magenta1.2%
Yellow0.0%
Key (black)5.1%

Color previews

#f0eff2 text on a black background

contrast 18.33:1

Card sample

#f0eff2 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0eff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0eff2 in the Color Lab