Skip to content

#f2dbfd

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

RGB
242, 219, 253
HSL
281°, 90%, 93%
CMYK
4, 13, 0, 1
Luminance
0.7663

Every format

HEX#f2dbfd
RGBrgb(242, 219, 253)
HSLhsl(281, 90%, 93%)
CMYKcmyk(4%, 13%, 0%, 1%)
LABlab(90.2 13.9 -13.6)
LCHlch(90.2 19.5 315.5)
OKLCHoklch(0.920 0.052 314.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2dbfd on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#f2dbfd on black: 16.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green85.9%
Blue99.2%

CMYK percentages

Cyan4.3%
Magenta13.4%
Yellow0.0%
Key (black)0.8%

Color previews

#f2dbfd text on a black background

contrast 16.33:1

Card sample

#f2dbfd text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2dbfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2dbfd in the Color Lab