Skip to content

#f2adff

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

RGB
242, 173, 255
HSL
291°, 100%, 84%
CMYK
5, 32, 0, 0
Luminance
0.5598

Every format

HEX#f2adff
RGBrgb(242, 173, 255)
HSLhsl(291, 100%, 84%)
CMYKcmyk(5%, 32%, 0%, 0%)
LABlab(79.6 38.6 -30.7)
LCHlch(79.6 49.3 321.5)
OKLCHoklch(0.840 0.133 321.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2adff on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#f2adff on black: 12.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green67.8%
Blue100.0%

CMYK percentages

Cyan5.1%
Magenta32.2%
Yellow0.0%
Key (black)0.0%

Color previews

#f2adff text on a black background

contrast 12.20:1

Card sample

#f2adff text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2adff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2adff in the Color Lab