Skip to content

#f2ccfd

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

RGB
242, 204, 253
HSL
287°, 93%, 90%
CMYK
4, 19, 0, 1
Luminance
0.6915

Every format

HEX#f2ccfd
RGBrgb(242, 204, 253)
HSLhsl(287, 93%, 90%)
CMYKcmyk(4%, 19%, 0%, 1%)
LABlab(86.6 21.8 -19.0)
LCHlch(86.6 28.9 318.9)
OKLCHoklch(0.893 0.077 318.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2ccfd on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#f2ccfd on black: 14.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green80.0%
Blue99.2%

CMYK percentages

Cyan4.3%
Magenta19.4%
Yellow0.0%
Key (black)0.8%

Color previews

#f2ccfd text on a black background

contrast 14.83:1

Card sample

#f2ccfd text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2ccfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2ccfd in the Color Lab