Skip to content

#eccbf8

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

RGB
236, 203, 248
HSL
284°, 76%, 88%
CMYK
5, 18, 0, 3
Luminance
0.6732

Every format

HEX#eccbf8
RGBrgb(236, 203, 248)
HSLhsl(284, 76%, 88%)
CMYKcmyk(5%, 18%, 0%, 3%)
LABlab(85.7 19.4 -17.8)
LCHlch(85.7 26.3 317.6)
OKLCHoklch(0.884 0.070 317.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green79.6%
Blue97.3%

CMYK percentages

Cyan4.8%
Magenta18.1%
Yellow0.0%
Key (black)2.7%

Color previews

#eccbf8 text on a black background

contrast 14.46:1

Card sample

#eccbf8 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccbf8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccbf8 in the Color Lab