Skip to content

#f2cff7

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

RGB
242, 207, 247
HSL
293°, 71%, 89%
CMYK
2, 16, 0, 3
Luminance
0.7022

Every format

HEX#f2cff7
RGBrgb(242, 207, 247)
HSLhsl(293, 71%, 89%)
CMYKcmyk(2%, 16%, 0%, 3%)
LABlab(87.1 19.1 -15.0)
LCHlch(87.1 24.3 321.8)
OKLCHoklch(0.896 0.066 322.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2cff7 on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#f2cff7 on black: 15.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green81.2%
Blue96.9%

CMYK percentages

Cyan2.0%
Magenta16.2%
Yellow0.0%
Key (black)3.1%

Color previews

#f2cff7 text on a black background

contrast 15.04:1

Card sample

#f2cff7 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2cff7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2cff7 in the Color Lab