Skip to content

#fdf0ff

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

RGB
253, 240, 255
HSL
292°, 100%, 97%
CMYK
1, 6, 0, 0
Luminance
0.9042

Every format

HEX#fdf0ff
RGBrgb(253, 240, 255)
HSLhsl(292, 100%, 97%)
CMYKcmyk(1%, 6%, 0%, 0%)
LABlab(96.2 7.0 -5.6)
LCHlch(96.2 9.0 321.0)
OKLCHoklch(0.970 0.024 321.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf0ff on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#fdf0ff on black: 19.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green94.1%
Blue100.0%

CMYK percentages

Cyan0.8%
Magenta5.9%
Yellow0.0%
Key (black)0.0%

Color previews

#fdf0ff text on a black background

contrast 19.08:1

Card sample

#fdf0ff text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf0ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf0ff in the Color Lab