Skip to content

#f7e9ff

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

RGB
247, 233, 255
HSL
278°, 100%, 96%
CMYK
3, 9, 0, 0
Luminance
0.8527

Every format

HEX#f7e9ff
RGBrgb(247, 233, 255)
HSLhsl(278, 100%, 96%)
CMYKcmyk(3%, 9%, 0%, 0%)
LABlab(94.0 8.6 -8.9)
LCHlch(94.0 12.4 314.1)
OKLCHoklch(0.952 0.033 313.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f7e9ff on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#f7e9ff on black: 18.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.9%
Green91.4%
Blue100.0%

CMYK percentages

Cyan3.1%
Magenta8.6%
Yellow0.0%
Key (black)0.0%

Color previews

#f7e9ff text on a black background

contrast 18.05:1

Card sample

#f7e9ff text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f7e9ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f7e9ff in the Color Lab