Skip to content

#f4ecff

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

RGB
244, 236, 255
HSL
265°, 100%, 96%
CMYK
4, 8, 0, 0
Luminance
0.8644

Every format

HEX#f4ecff
RGBrgb(244, 236, 255)
HSLhsl(265, 100%, 96%)
CMYKcmyk(4%, 8%, 0%, 0%)
LABlab(94.5 6.1 -8.2)
LCHlch(94.5 10.2 306.6)
OKLCHoklch(0.955 0.027 304.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red95.7%
Green92.5%
Blue100.0%

CMYK percentages

Cyan4.3%
Magenta7.5%
Yellow0.0%
Key (black)0.0%

Color previews

#f4ecff text on a black background

contrast 18.29:1

Card sample

#f4ecff text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(244, 236, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(244, 236, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f4ecff;
background: linear-gradient(135deg, #f4ecff, #FFECFD);

Monochromatic scale

Palettes built from #f4ecff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4ecff in the Color Lab