Skip to content

#f2edfd

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

RGB
242, 237, 253
HSL
259°, 80%, 96%
CMYK
4, 6, 0, 1
Luminance
0.8654

Every format

HEX#f2edfd
RGBrgb(242, 237, 253)
HSLhsl(259, 80%, 96%)
CMYKcmyk(4%, 6%, 0%, 1%)
LABlab(94.5 4.5 -7.1)
LCHlch(94.5 8.4 302.7)
OKLCHoklch(0.955 0.022 300.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green92.9%
Blue99.2%

CMYK percentages

Cyan4.3%
Magenta6.3%
Yellow0.0%
Key (black)0.8%

Color previews

#f2edfd text on a black background

contrast 18.31:1

Card sample

#f2edfd text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2edfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2edfd in the Color Lab