Skip to content

#faf6fe

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

RGB
250, 246, 254
HSL
270°, 80%, 98%
CMYK
2, 3, 0, 0
Luminance
0.9339

Every format

HEX#faf6fe
RGBrgb(250, 246, 254)
HSLhsl(270, 80%, 98%)
CMYKcmyk(2%, 3%, 0%, 0%)
LABlab(97.4 2.7 -3.4)
LCHlch(97.4 4.3 309.2)
OKLCHoklch(0.979 0.011 308.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#faf6fe on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#faf6fe on black: 19.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green96.5%
Blue99.6%

CMYK percentages

Cyan1.6%
Magenta3.1%
Yellow0.0%
Key (black)0.4%

Color previews

#faf6fe text on a black background

contrast 19.68:1

Card sample

#faf6fe text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faf6fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faf6fe in the Color Lab