Skip to content

#faf8fc

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

RGB
250, 248, 252
HSL
270°, 40%, 98%
CMYK
1, 2, 0, 1
Luminance
0.9449

Every format

HEX#faf8fc
RGBrgb(250, 248, 252)
HSLhsl(270, 40%, 98%)
CMYKcmyk(1%, 2%, 0%, 1%)
LABlab(97.8 1.4 -1.7)
LCHlch(97.8 2.2 309.2)
OKLCHoklch(0.982 0.006 308.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#faf8fc on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#faf8fc on black: 19.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green97.3%
Blue98.8%

CMYK percentages

Cyan0.8%
Magenta1.6%
Yellow0.0%
Key (black)1.2%

Color previews

#faf8fc text on a black background

contrast 19.90:1

Card sample

#faf8fc text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faf8fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faf8fc in the Color Lab