Skip to content

#f0dbff

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

RGB
240, 219, 255
HSL
275°, 100%, 93%
CMYK
6, 14, 0, 0
Luminance
0.7641

Every format

HEX#f0dbff
RGBrgb(240, 219, 255)
HSLhsl(275, 100%, 93%)
CMYKcmyk(6%, 14%, 0%, 0%)
LABlab(90.0 13.6 -14.8)
LCHlch(90.0 20.1 312.5)
OKLCHoklch(0.919 0.053 311.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green85.9%
Blue100.0%

CMYK percentages

Cyan5.9%
Magenta14.1%
Yellow0.0%
Key (black)0.0%

Color previews

#f0dbff text on a black background

contrast 16.28:1

Card sample

#f0dbff text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0dbff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0dbff in the Color Lab