Skip to content

#f2eafe

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

RGB
242, 234, 254
HSL
264°, 91%, 96%
CMYK
5, 8, 0, 0
Luminance
0.8488

Every format

HEX#f2eafe
RGBrgb(242, 234, 254)
HSLhsl(264, 91%, 96%)
CMYKcmyk(5%, 8%, 0%, 0%)
LABlab(93.8 6.3 -8.7)
LCHlch(93.8 10.7 305.9)
OKLCHoklch(0.949 0.028 303.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2eafe on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#f2eafe on black: 17.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green91.8%
Blue99.6%

CMYK percentages

Cyan4.7%
Magenta7.9%
Yellow0.0%
Key (black)0.4%

Color previews

#f2eafe text on a black background

contrast 17.98:1

Card sample

#f2eafe text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2eafe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2eafe in the Color Lab