Skip to content

#f2cefe

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

RGB
242, 206, 254
HSL
285°, 96%, 90%
CMYK
5, 19, 0, 0
Luminance
0.7018

Every format

HEX#f2cefe
RGBrgb(242, 206, 254)
HSLhsl(285, 96%, 90%)
CMYKcmyk(5%, 19%, 0%, 0%)
LABlab(87.1 20.9 -18.8)
LCHlch(87.1 28.1 318.1)
OKLCHoklch(0.897 0.075 317.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green80.8%
Blue99.6%

CMYK percentages

Cyan4.7%
Magenta18.9%
Yellow0.0%
Key (black)0.4%

Color previews

#f2cefe text on a black background

contrast 15.04:1

Card sample

#f2cefe text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2cefe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2cefe in the Color Lab