Skip to content

#f7def7

a pale, vivid magenta / pink · warm · closest name: lavender

RGB
247, 222, 247
HSL
300°, 61%, 92%
CMYK
0, 10, 0, 3
Luminance
0.7873

Every format

HEX#f7def7
RGBrgb(247, 222, 247)
HSLhsl(300, 61%, 92%)
CMYKcmyk(0%, 10%, 0%, 3%)
LABlab(91.1 12.9 -9.0)
LCHlch(91.1 15.7 325.0)
OKLCHoklch(0.928 0.043 325.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f7def7 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#f7def7 on black: 16.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.9%
Green87.1%
Blue96.9%

CMYK percentages

Cyan0.0%
Magenta10.1%
Yellow0.0%
Key (black)3.1%

Color previews

#f7def7 text on a black background

contrast 16.75:1

Card sample

#f7def7 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f7def7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f7def7 in the Color Lab