Skip to content

#efe2f8

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

RGB
239, 226, 248
HSL
276°, 61%, 93%
CMYK
4, 9, 0, 3
Luminance
0.7952

Every format

HEX#efe2f8
RGBrgb(239, 226, 248)
HSLhsl(276, 61%, 93%)
CMYKcmyk(4%, 9%, 0%, 3%)
LABlab(91.5 8.3 -9.1)
LCHlch(91.5 12.3 312.6)
OKLCHoklch(0.930 0.033 311.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#efe2f8 on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#efe2f8 on black: 16.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.7%
Green88.6%
Blue97.3%

CMYK percentages

Cyan3.6%
Magenta8.9%
Yellow0.0%
Key (black)2.7%

Color previews

#efe2f8 text on a black background

contrast 16.90:1

Card sample

#efe2f8 text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #efe2f8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #efe2f8 in the Color Lab