Skip to content

#f6ecfd

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

RGB
246, 236, 253
HSL
275°, 81%, 96%
CMYK
3, 7, 0, 1
Luminance
0.8668

Every format

HEX#f6ecfd
RGBrgb(246, 236, 253)
HSLhsl(275, 81%, 96%)
CMYKcmyk(3%, 7%, 0%, 1%)
LABlab(94.6 6.4 -7.0)
LCHlch(94.6 9.4 312.4)
OKLCHoklch(0.956 0.025 311.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f6ecfd on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#f6ecfd on black: 18.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.5%
Green92.5%
Blue99.2%

CMYK percentages

Cyan2.8%
Magenta6.7%
Yellow0.0%
Key (black)0.8%

Color previews

#f6ecfd text on a black background

contrast 18.34:1

Card sample

#f6ecfd text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f6ecfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f6ecfd in the Color Lab