Skip to content

#eccff2

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

RGB
236, 207, 242
HSL
290°, 57%, 88%
CMYK
3, 15, 0, 5
Luminance
0.6887

Every format

HEX#eccff2
RGBrgb(236, 207, 242)
HSLhsl(290, 57%, 88%)
CMYKcmyk(3%, 15%, 0%, 5%)
LABlab(86.4 16.2 -13.4)
LCHlch(86.4 21.1 320.3)
OKLCHoklch(0.889 0.057 320.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green81.2%
Blue94.9%

CMYK percentages

Cyan2.5%
Magenta14.5%
Yellow0.0%
Key (black)5.1%

Color previews

#eccff2 text on a black background

contrast 14.77:1

Card sample

#eccff2 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccff2 in the Color Lab