Skip to content

#eccefe

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

RGB
236, 206, 254
HSL
278°, 96%, 90%
CMYK
7, 19, 0, 0
Luminance
0.6913

Every format

HEX#eccefe
RGBrgb(236, 206, 254)
HSLhsl(278, 96%, 90%)
CMYKcmyk(7%, 19%, 0%, 0%)
LABlab(86.6 19.0 -19.6)
LCHlch(86.6 27.3 314.1)
OKLCHoklch(0.891 0.072 312.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eccefe on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#eccefe on black: 14.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green80.8%
Blue99.6%

CMYK percentages

Cyan7.1%
Magenta18.9%
Yellow0.0%
Key (black)0.4%

Color previews

#eccefe text on a black background

contrast 14.83:1

Card sample

#eccefe text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccefe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccefe in the Color Lab