Skip to content

#decafe

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

RGB
222, 202, 254
HSL
263°, 96%, 89%
CMYK
13, 21, 0, 0
Luminance
0.6493

Every format

HEX#decafe
RGBrgb(222, 202, 254)
HSLhsl(263, 96%, 89%)
CMYKcmyk(13%, 21%, 0%, 0%)
LABlab(84.5 16.7 -22.9)
LCHlch(84.5 28.4 306.1)
OKLCHoklch(0.872 0.074 302.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#decafe on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#decafe on black: 13.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green79.2%
Blue99.6%

CMYK percentages

Cyan12.6%
Magenta20.5%
Yellow0.0%
Key (black)0.4%

Color previews

#decafe text on a black background

contrast 13.99:1

Card sample

#decafe text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(222, 202, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 202, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #decafe;
background: linear-gradient(135deg, #decafe, #FECAFB);

Monochromatic scale

Palettes built from #decafe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #decafe in the Color Lab