Skip to content

#eccef9

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

RGB
236, 206, 249
HSL
282°, 78%, 89%
CMYK
5, 17, 0, 2
Luminance
0.6882

Every format

HEX#eccef9
RGBrgb(236, 206, 249)
HSLhsl(282, 78%, 89%)
CMYKcmyk(5%, 17%, 0%, 2%)
LABlab(86.4 18.0 -17.2)
LCHlch(86.4 24.9 316.4)
OKLCHoklch(0.890 0.066 315.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green80.8%
Blue97.6%

CMYK percentages

Cyan5.2%
Magenta17.3%
Yellow0.0%
Key (black)2.4%

Color previews

#eccef9 text on a black background

contrast 14.76:1

Card sample

#eccef9 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccef9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccef9 in the Color Lab