Skip to content

#ecc0ff

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

RGB
236, 192, 255
HSL
282°, 100%, 88%
CMYK
8, 25, 0, 0
Luminance
0.6275

Every format

HEX#ecc0ff
RGBrgb(236, 192, 255)
HSLhsl(282, 100%, 88%)
CMYKcmyk(8%, 25%, 0%, 0%)
LABlab(83.3 26.6 -25.1)
LCHlch(83.3 36.6 316.8)
OKLCHoklch(0.867 0.097 315.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green75.3%
Blue100.0%

CMYK percentages

Cyan7.5%
Magenta24.7%
Yellow0.0%
Key (black)0.0%

Color previews

#ecc0ff text on a black background

contrast 13.55:1

Card sample

#ecc0ff text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc0ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc0ff in the Color Lab