Skip to content

#f6edf8

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

RGB
246, 237, 248
HSL
289°, 44%, 95%
CMYK
1, 4, 0, 3
Luminance
0.8694

Every format

HEX#f6edf8
RGBrgb(246, 237, 248)
HSLhsl(289, 44%, 95%)
CMYKcmyk(1%, 4%, 0%, 3%)
LABlab(94.7 5.0 -4.2)
LCHlch(94.7 6.5 319.6)
OKLCHoklch(0.956 0.017 320.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f6edf8 on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#f6edf8 on black: 18.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.5%
Green92.9%
Blue97.3%

CMYK percentages

Cyan0.8%
Magenta4.4%
Yellow0.0%
Key (black)2.7%

Color previews

#f6edf8 text on a black background

contrast 18.39:1

Card sample

#f6edf8 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f6edf8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f6edf8 in the Color Lab