Skip to content

#f7dfff

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

RGB
247, 223, 255
HSL
285°, 100%, 94%
CMYK
3, 13, 0, 0
Luminance
0.7977

Every format

HEX#f7dfff
RGBrgb(247, 223, 255)
HSLhsl(285, 100%, 94%)
CMYKcmyk(3%, 13%, 0%, 0%)
LABlab(91.6 13.8 -12.5)
LCHlch(91.6 18.6 317.8)
OKLCHoklch(0.933 0.050 317.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f7dfff on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#f7dfff on black: 16.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.9%
Green87.5%
Blue100.0%

CMYK percentages

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

Color previews

#f7dfff text on a black background

contrast 16.95:1

Card sample

#f7dfff text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f7dfff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f7dfff in the Color Lab