Skip to content

#fbf2fd

a pale, vivid violet · warm · closest name: lavender

RGB
251, 242, 253
HSL
289°, 73%, 97%
CMYK
1, 4, 0, 1
Luminance
0.9111

Every format

HEX#fbf2fd
RGBrgb(251, 242, 253)
HSLhsl(289, 73%, 97%)
CMYKcmyk(1%, 4%, 0%, 1%)
LABlab(96.5 4.9 -4.2)
LCHlch(96.5 6.5 319.6)
OKLCHoklch(0.971 0.017 320.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.4%
Green94.9%
Blue99.2%

CMYK percentages

Cyan0.8%
Magenta4.3%
Yellow0.0%
Key (black)0.8%

Color previews

#fbf2fd text on a black background

contrast 19.22:1

Card sample

#fbf2fd text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbf2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbf2fd in the Color Lab