Skip to content

#f8eafe

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

RGB
248, 234, 254
HSL
282°, 91%, 96%
CMYK
2, 8, 0, 0
Luminance
0.8596

Every format

HEX#f8eafe
RGBrgb(248, 234, 254)
HSLhsl(282, 91%, 96%)
CMYKcmyk(2%, 8%, 0%, 0%)
LABlab(94.3 8.2 -7.9)
LCHlch(94.3 11.4 316.1)
OKLCHoklch(0.954 0.030 315.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red97.3%
Green91.8%
Blue99.6%

CMYK percentages

Cyan2.4%
Magenta7.9%
Yellow0.0%
Key (black)0.4%

Color previews

#f8eafe text on a black background

contrast 18.19:1

Card sample

#f8eafe text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f8eafe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f8eafe in the Color Lab