Skip to content

#f2cbfc

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

RGB
242, 203, 252
HSL
288°, 89%, 89%
CMYK
4, 19, 0, 1
Luminance
0.6862

Every format

HEX#f2cbfc
RGBrgb(242, 203, 252)
HSLhsl(288, 89%, 89%)
CMYKcmyk(4%, 19%, 0%, 1%)
LABlab(86.3 22.1 -18.9)
LCHlch(86.3 29.1 319.6)
OKLCHoklch(0.891 0.078 319.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2cbfc on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#f2cbfc on black: 14.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green79.6%
Blue98.8%

CMYK percentages

Cyan4.0%
Magenta19.4%
Yellow0.0%
Key (black)1.2%

Color previews

#f2cbfc text on a black background

contrast 14.72:1

Card sample

#f2cbfc text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2cbfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2cbfc in the Color Lab