Skip to content

#ecccf3

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

RGB
236, 204, 243
HSL
289°, 62%, 88%
CMYK
3, 16, 0, 5
Luminance
0.6749

Every format

HEX#ecccf3
RGBrgb(236, 204, 243)
HSLhsl(289, 62%, 88%)
CMYKcmyk(3%, 16%, 0%, 5%)
LABlab(85.8 18.0 -15.0)
LCHlch(85.8 23.4 320.1)
OKLCHoklch(0.884 0.063 320.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecccf3 on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#ecccf3 on black: 14.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green80.0%
Blue95.3%

CMYK percentages

Cyan2.9%
Magenta16.0%
Yellow0.0%
Key (black)4.7%

Color previews

#ecccf3 text on a black background

contrast 14.50:1

Card sample

#ecccf3 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecccf3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecccf3 in the Color Lab