Skip to content

#ffdafc

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

RGB
255, 218, 252
HSL
305°, 100%, 93%
CMYK
0, 15, 1, 0
Luminance
0.7843

Every format

HEX#ffdafc
RGBrgb(255, 218, 252)
HSLhsl(305, 100%, 93%)
CMYKcmyk(0%, 15%, 1%, 0%)
LABlab(91.0 18.5 -11.8)
LCHlch(91.0 21.9 327.5)
OKLCHoklch(0.929 0.060 328.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green85.5%
Blue98.8%

CMYK percentages

Cyan0.0%
Magenta14.5%
Yellow1.2%
Key (black)0.0%

Color previews

#ffdafc text on a black background

contrast 16.69:1

Card sample

#ffdafc text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdafc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdafc in the Color Lab