Skip to content

#f0dbf9

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

RGB
240, 219, 249
HSL
282°, 71%, 92%
CMYK
4, 12, 0, 2
Luminance
0.7603

Every format

HEX#f0dbf9
RGBrgb(240, 219, 249)
HSLhsl(282, 71%, 92%)
CMYKcmyk(4%, 12%, 0%, 2%)
LABlab(89.9 12.5 -12.0)
LCHlch(89.9 17.3 316.3)
OKLCHoklch(0.917 0.046 315.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0dbf9 on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#f0dbf9 on black: 16.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green85.9%
Blue97.6%

CMYK percentages

Cyan3.6%
Magenta12.0%
Yellow0.0%
Key (black)2.4%

Color previews

#f0dbf9 text on a black background

contrast 16.21:1

Card sample

#f0dbf9 text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0dbf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0dbf9 in the Color Lab