Skip to content

#f2cbfe

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

RGB
242, 203, 254
HSL
286°, 96%, 90%
CMYK
5, 20, 0, 0
Luminance
0.6874

Every format

HEX#f2cbfe
RGBrgb(242, 203, 254)
HSLhsl(286, 96%, 90%)
CMYKcmyk(5%, 20%, 0%, 0%)
LABlab(86.4 22.5 -19.8)
LCHlch(86.4 30.0 318.6)
OKLCHoklch(0.891 0.080 318.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green79.6%
Blue99.6%

CMYK percentages

Cyan4.7%
Magenta20.1%
Yellow0.0%
Key (black)0.4%

Color previews

#f2cbfe text on a black background

contrast 14.75:1

Card sample

#f2cbfe text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2cbfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2cbfe in the Color Lab