Skip to content

#fcf2ff

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

RGB
252, 242, 255
HSL
286°, 100%, 98%
CMYK
1, 5, 0, 0
Luminance
0.9142

Every format

HEX#fcf2ff
RGBrgb(252, 242, 255)
HSLhsl(286, 100%, 98%)
CMYKcmyk(1%, 5%, 0%, 0%)
LABlab(96.6 5.6 -5.0)
LCHlch(96.6 7.5 318.1)
OKLCHoklch(0.973 0.020 318.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcf2ff on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#fcf2ff on black: 19.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green94.9%
Blue100.0%

CMYK percentages

Cyan1.2%
Magenta5.1%
Yellow0.0%
Key (black)0.0%

Color previews

#fcf2ff text on a black background

contrast 19.28:1

Card sample

#fcf2ff text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcf2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcf2ff in the Color Lab