Skip to content

#f6dcfe

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

RGB
246, 220, 254
HSL
286°, 94%, 93%
CMYK
3, 13, 0, 0
Luminance
0.7793

Every format

HEX#f6dcfe
RGBrgb(246, 220, 254)
HSLhsl(286, 94%, 93%)
CMYKcmyk(3%, 13%, 0%, 0%)
LABlab(90.8 14.9 -13.2)
LCHlch(90.8 19.9 318.3)
OKLCHoklch(0.926 0.053 318.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f6dcfe on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#f6dcfe on black: 16.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.5%
Green86.3%
Blue99.6%

CMYK percentages

Cyan3.1%
Magenta13.4%
Yellow0.0%
Key (black)0.4%

Color previews

#f6dcfe text on a black background

contrast 16.59:1

Card sample

#f6dcfe text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f6dcfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f6dcfe in the Color Lab