Skip to content

#f5e9ff

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

RGB
245, 233, 255
HSL
273°, 100%, 96%
CMYK
4, 9, 0, 0
Luminance
0.8491

Every format

HEX#f5e9ff
RGBrgb(245, 233, 255)
HSLhsl(273, 100%, 96%)
CMYKcmyk(4%, 9%, 0%, 0%)
LABlab(93.8 8.0 -9.2)
LCHlch(93.8 12.1 311.0)
OKLCHoklch(0.950 0.032 309.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f5e9ff on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#f5e9ff on black: 17.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.1%
Green91.4%
Blue100.0%

CMYK percentages

Cyan3.9%
Magenta8.6%
Yellow0.0%
Key (black)0.0%

Color previews

#f5e9ff text on a black background

contrast 17.98:1

Card sample

#f5e9ff text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5e9ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5e9ff in the Color Lab