Skip to content

#f5daff

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

RGB
245, 218, 255
HSL
284°, 100%, 93%
CMYK
4, 15, 0, 0
Luminance
0.7678

Every format

HEX#f5daff
RGBrgb(245, 218, 255)
HSLhsl(284, 100%, 93%)
CMYKcmyk(4%, 15%, 0%, 0%)
LABlab(90.2 15.8 -14.6)
LCHlch(90.2 21.5 317.3)
OKLCHoklch(0.922 0.057 316.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f5daff on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#f5daff on black: 16.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.1%
Green85.5%
Blue100.0%

CMYK percentages

Cyan3.9%
Magenta14.5%
Yellow0.0%
Key (black)0.0%

Color previews

#f5daff text on a black background

contrast 16.36:1

Card sample

#f5daff text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5daff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5daff in the Color Lab