Skip to content

#fbf0fd

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

RGB
251, 240, 253
HSL
291°, 77%, 97%
CMYK
1, 5, 0, 1
Luminance
0.8992

Every format

HEX#fbf0fd
RGBrgb(251, 240, 253)
HSLhsl(291, 77%, 97%)
CMYKcmyk(1%, 5%, 0%, 1%)
LABlab(96.0 6.0 -4.9)
LCHlch(96.0 7.7 320.4)
OKLCHoklch(0.967 0.021 321.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fbf0fd on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#fbf0fd on black: 18.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green94.1%
Blue99.2%

CMYK percentages

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

Color previews

#fbf0fd text on a black background

contrast 18.98:1

Card sample

#fbf0fd text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbf0fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbf0fd in the Color Lab