Skip to content

#f2e9fc

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

RGB
242, 233, 252
HSL
268°, 76%, 95%
CMYK
4, 8, 0, 1
Luminance
0.8418

Every format

HEX#f2e9fc
RGBrgb(242, 233, 252)
HSLhsl(268, 76%, 95%)
CMYKcmyk(4%, 8%, 0%, 1%)
LABlab(93.5 6.4 -8.1)
LCHlch(93.5 10.3 308.5)
OKLCHoklch(0.947 0.027 307.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2e9fc on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#f2e9fc on black: 17.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green91.4%
Blue98.8%

CMYK percentages

Cyan4.0%
Magenta7.5%
Yellow0.0%
Key (black)1.2%

Color previews

#f2e9fc text on a black background

contrast 17.84:1

Card sample

#f2e9fc text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2e9fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2e9fc in the Color Lab