Skip to content

#faf2fc

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

RGB
250, 242, 252
HSL
288°, 63%, 97%
CMYK
1, 4, 0, 1
Luminance
0.9086

Every format

HEX#faf2fc
RGBrgb(250, 242, 252)
HSLhsl(288, 63%, 97%)
CMYKcmyk(1%, 4%, 0%, 1%)
LABlab(96.3 4.4 -3.9)
LCHlch(96.3 5.9 318.9)
OKLCHoklch(0.970 0.016 319.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#faf2fc on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#faf2fc on black: 19.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green94.9%
Blue98.8%

CMYK percentages

Cyan0.8%
Magenta4.0%
Yellow0.0%
Key (black)1.2%

Color previews

#faf2fc text on a black background

contrast 19.17:1

Card sample

#faf2fc text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faf2fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faf2fc in the Color Lab