Skip to content

#f6e3ff

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

RGB
246, 227, 255
HSL
281°, 100%, 95%
CMYK
4, 11, 0, 0
Luminance
0.8175

Every format

HEX#f6e3ff
RGBrgb(246, 227, 255)
HSLhsl(281, 100%, 95%)
CMYKcmyk(4%, 11%, 0%, 0%)
LABlab(92.5 11.4 -11.2)
LCHlch(92.5 16.0 315.5)
OKLCHoklch(0.939 0.042 315.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f6e3ff on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#f6e3ff on black: 17.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.5%
Green89.0%
Blue100.0%

CMYK percentages

Cyan3.5%
Magenta11.0%
Yellow0.0%
Key (black)0.0%

Color previews

#f6e3ff text on a black background

contrast 17.35:1

Card sample

#f6e3ff text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f6e3ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f6e3ff in the Color Lab