Skip to content

#f2daf3

a pale, vivid magenta / pink · warm · closest name: lavender

RGB
242, 218, 243
HSL
298°, 51%, 90%
CMYK
0, 10, 0, 5
Luminance
0.7549

Every format

HEX#f2daf3
RGBrgb(242, 218, 243)
HSLhsl(298, 51%, 90%)
CMYKcmyk(0%, 10%, 0%, 5%)
LABlab(89.6 12.6 -9.2)
LCHlch(89.6 15.6 323.9)
OKLCHoklch(0.915 0.042 324.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green85.5%
Blue95.3%

CMYK percentages

Cyan0.4%
Magenta10.3%
Yellow0.0%
Key (black)4.7%

Color previews

#f2daf3 text on a black background

contrast 16.10:1

Card sample

#f2daf3 text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2daf3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2daf3 in the Color Lab