Skip to content

#f5eaff

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

RGB
245, 234, 255
HSL
271°, 100%, 96%
CMYK
4, 8, 0, 0
Luminance
0.8548

Every format

HEX#f5eaff
RGBrgb(245, 234, 255)
HSLhsl(271, 100%, 96%)
CMYKcmyk(4%, 8%, 0%, 0%)
LABlab(94.1 7.4 -8.8)
LCHlch(94.1 11.5 310.2)
OKLCHoklch(0.952 0.030 309.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f5eaff on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#f5eaff on black: 18.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.1%
Green91.8%
Blue100.0%

CMYK percentages

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

Color previews

#f5eaff text on a black background

contrast 18.10:1

Card sample

#f5eaff text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5eaff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5eaff in the Color Lab