Skip to content

#f2e5fd

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

RGB
242, 229, 253
HSL
273°, 86%, 95%
CMYK
4, 10, 0, 1
Luminance
0.8201

Every format

HEX#f2e5fd
RGBrgb(242, 229, 253)
HSLhsl(273, 86%, 95%)
CMYKcmyk(4%, 10%, 0%, 1%)
LABlab(92.6 8.7 -10.0)
LCHlch(92.6 13.3 310.9)
OKLCHoklch(0.939 0.035 309.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2e5fd on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#f2e5fd on black: 17.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green89.8%
Blue99.2%

CMYK percentages

Cyan4.3%
Magenta9.5%
Yellow0.0%
Key (black)0.8%

Color previews

#f2e5fd text on a black background

contrast 17.40:1

Card sample

#f2e5fd text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2e5fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2e5fd in the Color Lab