Skip to content

#faf2fd

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

RGB
250, 242, 253
HSL
284°, 73%, 97%
CMYK
1, 4, 0, 1
Luminance
0.9092

Every format

HEX#faf2fd
RGBrgb(250, 242, 253)
HSLhsl(284, 73%, 97%)
CMYKcmyk(1%, 4%, 0%, 1%)
LABlab(96.4 4.6 -4.3)
LCHlch(96.4 6.3 316.8)
OKLCHoklch(0.971 0.017 316.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green94.9%
Blue99.2%

CMYK percentages

Cyan1.2%
Magenta4.3%
Yellow0.0%
Key (black)0.8%

Color previews

#faf2fd text on a black background

contrast 19.18:1

Card sample

#faf2fd text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faf2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faf2fd in the Color Lab