Skip to content

#f6eafb

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

RGB
246, 234, 251
HSL
282°, 68%, 95%
CMYK
2, 7, 0, 2
Luminance
0.8540

Every format

HEX#f6eafb
RGBrgb(246, 234, 251)
HSLhsl(282, 68%, 95%)
CMYKcmyk(2%, 7%, 0%, 2%)
LABlab(94.1 7.0 -6.7)
LCHlch(94.1 9.7 316.2)
OKLCHoklch(0.951 0.026 316.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f6eafb on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#f6eafb on black: 18.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.5%
Green91.8%
Blue98.4%

CMYK percentages

Cyan2.0%
Magenta6.8%
Yellow0.0%
Key (black)1.6%

Color previews

#f6eafb text on a black background

contrast 18.08:1

Card sample

#f6eafb text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f6eafb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f6eafb in the Color Lab