Skip to content

#f2ebfd

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

RGB
242, 235, 253
HSL
263°, 82%, 96%
CMYK
4, 7, 0, 1
Luminance
0.8539

Every format

HEX#f2ebfd
RGBrgb(242, 235, 253)
HSLhsl(263, 82%, 96%)
CMYKcmyk(4%, 7%, 0%, 1%)
LABlab(94.0 5.6 -7.8)
LCHlch(94.0 9.6 305.5)
OKLCHoklch(0.951 0.025 303.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan4.3%
Magenta7.1%
Yellow0.0%
Key (black)0.8%

Color previews

#f2ebfd text on a black background

contrast 18.08:1

Card sample

#f2ebfd text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2ebfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2ebfd in the Color Lab