Skip to content

#f7daff

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

RGB
247, 218, 255
HSL
287°, 100%, 93%
CMYK
3, 15, 0, 0
Luminance
0.7714

Every format

HEX#f7daff
RGBrgb(247, 218, 255)
HSLhsl(287, 100%, 93%)
CMYKcmyk(3%, 15%, 0%, 0%)
LABlab(90.4 16.4 -14.3)
LCHlch(90.4 21.8 319.0)
OKLCHoklch(0.923 0.058 318.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red96.9%
Green85.5%
Blue100.0%

CMYK percentages

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

Color previews

#f7daff text on a black background

contrast 16.43:1

Card sample

#f7daff text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f7daff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f7daff in the Color Lab