Skip to content

#f5e2fd

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

RGB
245, 226, 253
HSL
282°, 87%, 94%
CMYK
3, 11, 0, 1
Luminance
0.8090

Every format

HEX#f5e2fd
RGBrgb(245, 226, 253)
HSLhsl(282, 87%, 94%)
CMYKcmyk(3%, 11%, 0%, 1%)
LABlab(92.1 11.2 -10.7)
LCHlch(92.1 15.5 316.3)
OKLCHoklch(0.936 0.041 316.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f5e2fd on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#f5e2fd on black: 17.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.1%
Green88.6%
Blue99.2%

CMYK percentages

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

Color previews

#f5e2fd text on a black background

contrast 17.18:1

Card sample

#f5e2fd text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5e2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5e2fd in the Color Lab