Skip to content

#ece4ff

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

RGB
236, 228, 255
HSL
258°, 100%, 95%
CMYK
8, 11, 0, 0
Luminance
0.8054

Every format

HEX#ece4ff
RGBrgb(236, 228, 255)
HSLhsl(258, 100%, 95%)
CMYKcmyk(8%, 11%, 0%, 0%)
LABlab(91.9 7.6 -12.1)
LCHlch(91.9 14.3 302.3)
OKLCHoklch(0.933 0.037 299.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ece4ff on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#ece4ff on black: 17.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green89.4%
Blue100.0%

CMYK percentages

Cyan7.5%
Magenta10.6%
Yellow0.0%
Key (black)0.0%

Color previews

#ece4ff text on a black background

contrast 17.11:1

Card sample

#ece4ff text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ece4ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ece4ff in the Color Lab