Skip to content

#f2c0fe

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

RGB
242, 192, 254
HSL
288°, 97%, 88%
CMYK
5, 24, 0, 0
Luminance
0.6373

Every format

HEX#f2c0fe
RGBrgb(242, 192, 254)
HSLhsl(288, 97%, 88%)
CMYKcmyk(5%, 24%, 0%, 0%)
LABlab(83.8 28.4 -23.7)
LCHlch(83.8 37.0 320.1)
OKLCHoklch(0.872 0.099 319.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2c0fe on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#f2c0fe on black: 13.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green75.3%
Blue99.6%

CMYK percentages

Cyan4.7%
Magenta24.4%
Yellow0.0%
Key (black)0.4%

Color previews

#f2c0fe text on a black background

contrast 13.75:1

Card sample

#f2c0fe text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2c0fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2c0fe in the Color Lab