Skip to content

#f3f1f7

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

RGB
243, 241, 247
HSL
260°, 27%, 96%
CMYK
2, 2, 0, 3
Luminance
0.8868

Every format

HEX#f3f1f7
RGBrgb(243, 241, 247)
HSLhsl(260, 27%, 96%)
CMYKcmyk(2%, 2%, 0%, 3%)
LABlab(95.5 1.7 -2.6)
LCHlch(95.5 3.2 303.1)
OKLCHoklch(0.961 0.008 301.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f3f1f7 on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#f3f1f7 on black: 18.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.3%
Green94.5%
Blue96.9%

CMYK percentages

Cyan1.6%
Magenta2.4%
Yellow0.0%
Key (black)3.1%

Color previews

#f3f1f7 text on a black background

contrast 18.74:1

Card sample

#f3f1f7 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(243, 241, 247, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(243, 241, 247, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f3f1f7;
background: linear-gradient(135deg, #f3f1f7, #F7F1F7);

Monochromatic scale

Palettes built from #f3f1f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f3f1f7 in the Color Lab