Skip to content

#f5ecfd

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

RGB
245, 236, 253
HSL
272°, 81%, 96%
CMYK
3, 7, 0, 1
Luminance
0.8650

Every format

HEX#f5ecfd
RGBrgb(245, 236, 253)
HSLhsl(272, 81%, 96%)
CMYKcmyk(3%, 7%, 0%, 1%)
LABlab(94.5 6.0 -7.1)
LCHlch(94.5 9.3 310.4)
OKLCHoklch(0.955 0.025 309.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red96.1%
Green92.5%
Blue99.2%

CMYK percentages

Cyan3.2%
Magenta6.7%
Yellow0.0%
Key (black)0.8%

Color previews

#f5ecfd text on a black background

contrast 18.30:1

Card sample

#f5ecfd text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5ecfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5ecfd in the Color Lab