Skip to content

#f7dcfd

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

RGB
247, 220, 253
HSL
289°, 89%, 93%
CMYK
2, 13, 0, 1
Luminance
0.7805

Every format

HEX#f7dcfd
RGBrgb(247, 220, 253)
HSLhsl(289, 89%, 93%)
CMYKcmyk(2%, 13%, 0%, 1%)
LABlab(90.8 15.0 -12.6)
LCHlch(90.8 19.6 319.9)
OKLCHoklch(0.926 0.053 320.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f7dcfd on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#f7dcfd on black: 16.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.9%
Green86.3%
Blue99.2%

CMYK percentages

Cyan2.4%
Magenta13.0%
Yellow0.0%
Key (black)0.8%

Color previews

#f7dcfd text on a black background

contrast 16.61:1

Card sample

#f7dcfd text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f7dcfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f7dcfd in the Color Lab