Skip to content

#faf8fd

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

RGB
250, 248, 253
HSL
264°, 56%, 98%
CMYK
1, 2, 0, 1
Luminance
0.9455

Every format

HEX#faf8fd
RGBrgb(250, 248, 253)
HSLhsl(264, 56%, 98%)
CMYKcmyk(1%, 2%, 0%, 1%)
LABlab(97.8 1.5 -2.2)
LCHlch(97.8 2.6 305.5)
OKLCHoklch(0.982 0.007 304.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#faf8fd on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#faf8fd on black: 19.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green97.3%
Blue99.2%

CMYK percentages

Cyan1.2%
Magenta2.0%
Yellow0.0%
Key (black)0.8%

Color previews

#faf8fd text on a black background

contrast 19.91:1

Card sample

#faf8fd text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faf8fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faf8fd in the Color Lab