Skip to content

#f2b7fd

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

RGB
242, 183, 253
HSL
291°, 95%, 86%
CMYK
4, 28, 0, 1
Luminance
0.5984

Every format

HEX#f2b7fd
RGBrgb(242, 183, 253)
HSLhsl(291, 95%, 86%)
CMYKcmyk(4%, 28%, 0%, 1%)
LABlab(81.8 32.9 -26.3)
LCHlch(81.8 42.2 321.4)
OKLCHoklch(0.856 0.114 321.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2b7fd on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#f2b7fd on black: 12.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green71.8%
Blue99.2%

CMYK percentages

Cyan4.3%
Magenta27.7%
Yellow0.0%
Key (black)0.8%

Color previews

#f2b7fd text on a black background

contrast 12.97:1

Card sample

#f2b7fd text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2b7fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2b7fd in the Color Lab