Skip to content

#f2dbfa

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

RGB
242, 219, 250
HSL
285°, 76%, 92%
CMYK
3, 12, 0, 2
Luminance
0.7644

Every format

HEX#f2dbfa
RGBrgb(242, 219, 250)
HSLhsl(285, 76%, 92%)
CMYKcmyk(3%, 12%, 0%, 2%)
LABlab(90.1 13.3 -12.2)
LCHlch(90.1 18.1 317.6)
OKLCHoklch(0.919 0.048 317.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green85.9%
Blue98.0%

CMYK percentages

Cyan3.2%
Magenta12.4%
Yellow0.0%
Key (black)2.0%

Color previews

#f2dbfa text on a black background

contrast 16.29:1

Card sample

#f2dbfa text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2dbfa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2dbfa in the Color Lab