Skip to content

#ecc0fd

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

RGB
236, 192, 253
HSL
283°, 94%, 87%
CMYK
7, 24, 0, 1
Luminance
0.6262

Every format

HEX#ecc0fd
RGBrgb(236, 192, 253)
HSLhsl(283, 94%, 87%)
CMYKcmyk(7%, 24%, 0%, 1%)
LABlab(83.2 26.3 -24.1)
LCHlch(83.2 35.6 317.4)
OKLCHoklch(0.866 0.095 316.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecc0fd on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#ecc0fd on black: 13.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green75.3%
Blue99.2%

CMYK percentages

Cyan6.7%
Magenta24.1%
Yellow0.0%
Key (black)0.8%

Color previews

#ecc0fd text on a black background

contrast 13.52:1

Card sample

#ecc0fd text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc0fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc0fd in the Color Lab