Skip to content

#ecc7fd

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

RGB
236, 199, 253
HSL
281°, 93%, 89%
CMYK
7, 21, 0, 1
Luminance
0.6577

Every format

HEX#ecc7fd
RGBrgb(236, 199, 253)
HSLhsl(281, 93%, 89%)
CMYKcmyk(7%, 21%, 0%, 1%)
LABlab(84.9 22.5 -21.6)
LCHlch(84.9 31.2 316.2)
OKLCHoklch(0.878 0.083 315.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecc7fd on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#ecc7fd on black: 14.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green78.0%
Blue99.2%

CMYK percentages

Cyan6.7%
Magenta21.3%
Yellow0.0%
Key (black)0.8%

Color previews

#ecc7fd text on a black background

contrast 14.15:1

Card sample

#ecc7fd text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc7fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc7fd in the Color Lab