Skip to content

#f2b2fc

a light, electric magenta / pink · warm · closest name: plum

RGB
242, 178, 252
HSL
292°, 93%, 84%
CMYK
4, 29, 0, 1
Luminance
0.5775

Every format

HEX#f2b2fc
RGBrgb(242, 178, 252)
HSLhsl(292, 93%, 84%)
CMYKcmyk(4%, 29%, 0%, 1%)
LABlab(80.6 35.4 -27.6)
LCHlch(80.6 44.9 322.1)
OKLCHoklch(0.847 0.121 321.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2b2fc on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#f2b2fc on black: 12.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green69.8%
Blue98.8%

CMYK percentages

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

Color previews

#f2b2fc text on a black background

contrast 12.55:1

Card sample

#f2b2fc text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2b2fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2b2fc in the Color Lab