Skip to content

#f0dbfd

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

RGB
240, 219, 253
HSL
277°, 90%, 93%
CMYK
5, 13, 0, 1
Luminance
0.7628

Every format

HEX#f0dbfd
RGBrgb(240, 219, 253)
HSLhsl(277, 90%, 93%)
CMYKcmyk(5%, 13%, 0%, 1%)
LABlab(90.0 13.3 -13.9)
LCHlch(90.0 19.2 313.6)
OKLCHoklch(0.919 0.051 312.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan5.1%
Magenta13.4%
Yellow0.0%
Key (black)0.8%

Color previews

#f0dbfd text on a black background

contrast 16.26:1

Card sample

#f0dbfd text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0dbfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0dbfd in the Color Lab