Skip to content

#f6dffb

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

RGB
246, 223, 251
HSL
289°, 78%, 93%
CMYK
2, 11, 0, 2
Luminance
0.7933

Every format

HEX#f6dffb
RGBrgb(246, 223, 251)
HSLhsl(289, 78%, 93%)
CMYKcmyk(2%, 11%, 0%, 2%)
LABlab(91.4 12.7 -10.7)
LCHlch(91.4 16.6 319.9)
OKLCHoklch(0.931 0.045 320.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f6dffb on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#f6dffb on black: 16.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.5%
Green87.5%
Blue98.4%

CMYK percentages

Cyan2.0%
Magenta11.2%
Yellow0.0%
Key (black)1.6%

Color previews

#f6dffb text on a black background

contrast 16.87:1

Card sample

#f6dffb text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f6dffb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f6dffb in the Color Lab