Skip to content

#f2cdfb

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

RGB
242, 205, 251
HSL
288°, 85%, 89%
CMYK
4, 18, 0, 2
Luminance
0.6950

Every format

HEX#f2cdfb
RGBrgb(242, 205, 251)
HSLhsl(288, 85%, 89%)
CMYKcmyk(4%, 18%, 0%, 2%)
LABlab(86.8 20.9 -17.7)
LCHlch(86.8 27.4 319.8)
OKLCHoklch(0.894 0.073 319.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2cdfb on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#f2cdfb on black: 14.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green80.4%
Blue98.4%

CMYK percentages

Cyan3.6%
Magenta18.3%
Yellow0.0%
Key (black)1.6%

Color previews

#f2cdfb text on a black background

contrast 14.90:1

Card sample

#f2cdfb text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2cdfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2cdfb in the Color Lab