Skip to content

#f0cbff

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

RGB
240, 203, 255
HSL
283°, 100%, 90%
CMYK
6, 20, 0, 0
Luminance
0.6846

Every format

HEX#f0cbff
RGBrgb(240, 203, 255)
HSLhsl(283, 100%, 90%)
CMYKcmyk(6%, 20%, 0%, 0%)
LABlab(86.2 22.1 -20.6)
LCHlch(86.2 30.2 317.0)
OKLCHoklch(0.890 0.080 316.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0cbff on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#f0cbff on black: 14.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green79.6%
Blue100.0%

CMYK percentages

Cyan5.9%
Magenta20.4%
Yellow0.0%
Key (black)0.0%

Color previews

#f0cbff text on a black background

contrast 14.69:1

Card sample

#f0cbff text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0cbff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0cbff in the Color Lab