Skip to content

#f5defd

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

RGB
245, 222, 253
HSL
285°, 89%, 93%
CMYK
3, 12, 0, 1
Luminance
0.7875

Every format

HEX#f5defd
RGBrgb(245, 222, 253)
HSLhsl(285, 89%, 93%)
CMYKcmyk(3%, 12%, 0%, 1%)
LABlab(91.1 13.3 -12.2)
LCHlch(91.1 18.0 317.6)
OKLCHoklch(0.928 0.048 317.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f5defd on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#f5defd on black: 16.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.1%
Green87.1%
Blue99.2%

CMYK percentages

Cyan3.2%
Magenta12.3%
Yellow0.0%
Key (black)0.8%

Color previews

#f5defd text on a black background

contrast 16.75:1

Card sample

#f5defd text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5defd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5defd in the Color Lab