Skip to content

#f2ccff

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

RGB
242, 204, 255
HSL
285°, 100%, 90%
CMYK
5, 20, 0, 0
Luminance
0.6928

Every format

HEX#f2ccff
RGBrgb(242, 204, 255)
HSLhsl(285, 100%, 90%)
CMYKcmyk(5%, 20%, 0%, 0%)
LABlab(86.6 22.2 -20.0)
LCHlch(86.6 29.8 318.0)
OKLCHoklch(0.893 0.080 317.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green80.0%
Blue100.0%

CMYK percentages

Cyan5.1%
Magenta20.0%
Yellow0.0%
Key (black)0.0%

Color previews

#f2ccff text on a black background

contrast 14.86:1

Card sample

#f2ccff text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2ccff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2ccff in the Color Lab