Skip to content

#eccbf3

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

RGB
236, 203, 243
HSL
290°, 63%, 88%
CMYK
3, 17, 0, 5
Luminance
0.6702

Every format

HEX#eccbf3
RGBrgb(236, 203, 243)
HSLhsl(290, 63%, 88%)
CMYKcmyk(3%, 17%, 0%, 5%)
LABlab(85.5 18.5 -15.4)
LCHlch(85.5 24.1 320.3)
OKLCHoklch(0.882 0.065 320.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eccbf3 on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#eccbf3 on black: 14.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green79.6%
Blue95.3%

CMYK percentages

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

Color previews

#eccbf3 text on a black background

contrast 14.40:1

Card sample

#eccbf3 text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccbf3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccbf3 in the Color Lab