Skip to content

#f5e5fe

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

RGB
245, 229, 254
HSL
278°, 93%, 95%
CMYK
4, 10, 0, 0
Luminance
0.8261

Every format

HEX#f5e5fe
RGBrgb(245, 229, 254)
HSLhsl(278, 93%, 95%)
CMYKcmyk(4%, 10%, 0%, 0%)
LABlab(92.8 9.8 -10.1)
LCHlch(92.8 14.1 314.2)
OKLCHoklch(0.942 0.037 313.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f5e5fe on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#f5e5fe on black: 17.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.1%
Green89.8%
Blue99.6%

CMYK percentages

Cyan3.5%
Magenta9.8%
Yellow0.0%
Key (black)0.4%

Color previews

#f5e5fe text on a black background

contrast 17.52:1

Card sample

#f5e5fe text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5e5fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5e5fe in the Color Lab