Skip to content

#f2effb

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

RGB
242, 239, 251
HSL
255°, 60%, 96%
CMYK
4, 5, 0, 2
Luminance
0.8758

Every format

HEX#f2effb
RGBrgb(242, 239, 251)
HSLhsl(255, 60%, 96%)
CMYKcmyk(4%, 5%, 0%, 2%)
LABlab(95.0 3.1 -5.4)
LCHlch(95.0 6.3 300.2)
OKLCHoklch(0.958 0.016 297.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2effb on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#f2effb on black: 18.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green93.7%
Blue98.4%

CMYK percentages

Cyan3.6%
Magenta4.8%
Yellow0.0%
Key (black)1.6%

Color previews

#f2effb text on a black background

contrast 18.52:1

Card sample

#f2effb text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2effb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2effb in the Color Lab