Skip to content

#fdf2ff

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

RGB
253, 242, 255
HSL
291°, 100%, 98%
CMYK
1, 5, 0, 0
Luminance
0.9161

Every format

HEX#fdf2ff
RGBrgb(253, 242, 255)
HSLhsl(291, 100%, 98%)
CMYKcmyk(1%, 5%, 0%, 0%)
LABlab(96.7 6.0 -4.9)
LCHlch(96.7 7.7 320.4)
OKLCHoklch(0.973 0.021 321.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf2ff on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#fdf2ff on black: 19.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green94.9%
Blue100.0%

CMYK percentages

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

Color previews

#fdf2ff text on a black background

contrast 19.32:1

Card sample

#fdf2ff text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf2ff in the Color Lab