Skip to content

#e2ccff

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

RGB
226, 204, 255
HSL
266°, 100%, 90%
CMYK
11, 20, 0, 0
Luminance
0.6657

Every format

HEX#e2ccff
RGBrgb(226, 204, 255)
HSLhsl(266, 100%, 90%)
CMYKcmyk(11%, 20%, 0%, 0%)
LABlab(85.3 17.1 -22.1)
LCHlch(85.3 28.0 307.7)
OKLCHoklch(0.880 0.073 304.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red88.6%
Green80.0%
Blue100.0%

CMYK percentages

Cyan11.4%
Magenta20.0%
Yellow0.0%
Key (black)0.0%

Color previews

#e2ccff text on a black background

contrast 14.31:1

Card sample

#e2ccff text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2ccff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2ccff in the Color Lab