Skip to content

#fdf5ff

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

RGB
253, 245, 255
HSL
288°, 100%, 98%
CMYK
1, 4, 0, 0
Luminance
0.9341

Every format

HEX#fdf5ff
RGBrgb(253, 245, 255)
HSLhsl(288, 100%, 98%)
CMYKcmyk(1%, 4%, 0%, 0%)
LABlab(97.4 4.4 -3.8)
LCHlch(97.4 5.8 319.0)
OKLCHoklch(0.979 0.016 319.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf5ff on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#fdf5ff on black: 19.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green96.1%
Blue100.0%

CMYK percentages

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

Color previews

#fdf5ff text on a black background

contrast 19.68:1

Card sample

#fdf5ff text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf5ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf5ff in the Color Lab