Skip to content

#f2dbff

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

RGB
242, 219, 255
HSL
278°, 100%, 93%
CMYK
5, 14, 0, 0
Luminance
0.7676

Every format

HEX#f2dbff
RGBrgb(242, 219, 255)
HSLhsl(278, 100%, 93%)
CMYKcmyk(5%, 14%, 0%, 0%)
LABlab(90.2 14.3 -14.6)
LCHlch(90.2 20.4 314.4)
OKLCHoklch(0.921 0.054 313.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2dbff on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#f2dbff on black: 16.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#f2dbff text on a black background

contrast 16.35:1

Card sample

#f2dbff text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2dbff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2dbff in the Color Lab