Skip to content

#ecc0fc

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

RGB
236, 192, 252
HSL
284°, 91%, 87%
CMYK
6, 24, 0, 1
Luminance
0.6256

Every format

HEX#ecc0fc
RGBrgb(236, 192, 252)
HSLhsl(284, 91%, 87%)
CMYKcmyk(6%, 24%, 0%, 1%)
LABlab(83.2 26.1 -23.6)
LCHlch(83.2 35.2 317.8)
OKLCHoklch(0.865 0.094 316.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green75.3%
Blue98.8%

CMYK percentages

Cyan6.3%
Magenta23.8%
Yellow0.0%
Key (black)1.2%

Color previews

#ecc0fc text on a black background

contrast 13.51:1

Card sample

#ecc0fc text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc0fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc0fc in the Color Lab