Skip to content

#e0ccff

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

RGB
224, 204, 255
HSL
264°, 100%, 90%
CMYK
12, 20, 0, 0
Luminance
0.6625

Every format

HEX#e0ccff
RGBrgb(224, 204, 255)
HSLhsl(264, 100%, 90%)
CMYKcmyk(12%, 20%, 0%, 0%)
LABlab(85.1 16.5 -22.4)
LCHlch(85.1 27.8 306.3)
OKLCHoklch(0.878 0.072 302.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e0ccff on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#e0ccff on black: 14.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.8%
Green80.0%
Blue100.0%

CMYK percentages

Cyan12.2%
Magenta20.0%
Yellow0.0%
Key (black)0.0%

Color previews

#e0ccff text on a black background

contrast 14.25:1

Card sample

#e0ccff text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e0ccff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e0ccff in the Color Lab