Skip to content

#ffd9ff

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

RGB
255, 217, 255
HSL
300°, 100%, 93%
CMYK
0, 15, 0, 0
Luminance
0.7811

Every format

HEX#ffd9ff
RGBrgb(255, 217, 255)
HSLhsl(300, 100%, 93%)
CMYKcmyk(0%, 15%, 0%, 0%)
LABlab(90.8 19.6 -13.6)
LCHlch(90.8 23.8 325.3)
OKLCHoklch(0.928 0.065 326.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffd9ff on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#ffd9ff on black: 16.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green85.1%
Blue100.0%

CMYK percentages

Cyan0.0%
Magenta14.9%
Yellow0.0%
Key (black)0.0%

Color previews

#ffd9ff text on a black background

contrast 16.62:1

Card sample

#ffd9ff text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffd9ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffd9ff in the Color Lab