Skip to content

#f6f5f9

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

RGB
246, 245, 249
HSL
255°, 25%, 97%
CMYK
1, 2, 0, 2
Luminance
0.9174

Every format

HEX#f6f5f9
RGBrgb(246, 245, 249)
HSLhsl(255, 25%, 97%)
CMYKcmyk(1%, 2%, 0%, 2%)
LABlab(96.7 1.0 -1.8)
LCHlch(96.7 2.1 300.0)
OKLCHoklch(0.972 0.005 297.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red96.5%
Green96.1%
Blue97.6%

CMYK percentages

Cyan1.2%
Magenta1.6%
Yellow0.0%
Key (black)2.4%

Color previews

#f6f5f9 text on a black background

contrast 19.35:1

Card sample

#f6f5f9 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f6f5f9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f6f5f9 in the Color Lab