Skip to content

#f2ccfe

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

RGB
242, 204, 254
HSL
286°, 96%, 90%
CMYK
5, 20, 0, 0
Luminance
0.6922

Every format

HEX#f2ccfe
RGBrgb(242, 204, 254)
HSLhsl(286, 96%, 90%)
CMYKcmyk(5%, 20%, 0%, 0%)
LABlab(86.6 22.0 -19.5)
LCHlch(86.6 29.4 318.5)
OKLCHoklch(0.893 0.079 318.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2ccfe on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#f2ccfe on black: 14.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green80.0%
Blue99.6%

CMYK percentages

Cyan4.7%
Magenta19.7%
Yellow0.0%
Key (black)0.4%

Color previews

#f2ccfe text on a black background

contrast 14.84:1

Card sample

#f2ccfe text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2ccfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2ccfe in the Color Lab