Skip to content

#f2b0fc

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

RGB
242, 176, 252
HSL
292°, 93%, 84%
CMYK
4, 30, 0, 1
Luminance
0.5696

Every format

HEX#f2b0fc
RGBrgb(242, 176, 252)
HSLhsl(292, 93%, 84%)
CMYKcmyk(4%, 30%, 0%, 1%)
LABlab(80.2 36.5 -28.2)
LCHlch(80.2 46.1 322.2)
OKLCHoklch(0.843 0.125 322.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2b0fc on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#f2b0fc on black: 12.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan4.0%
Magenta30.2%
Yellow0.0%
Key (black)1.2%

Color previews

#f2b0fc text on a black background

contrast 12.39:1

Card sample

#f2b0fc text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2b0fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2b0fc in the Color Lab