Skip to content

#ecc7ff

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

RGB
236, 199, 255
HSL
280°, 100%, 89%
CMYK
8, 22, 0, 0
Luminance
0.6590

Every format

HEX#ecc7ff
RGBrgb(236, 199, 255)
HSLhsl(280, 100%, 89%)
CMYKcmyk(8%, 22%, 0%, 0%)
LABlab(85.0 22.9 -22.6)
LCHlch(85.0 32.2 315.4)
OKLCHoklch(0.879 0.085 314.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green78.0%
Blue100.0%

CMYK percentages

Cyan7.5%
Magenta22.0%
Yellow0.0%
Key (black)0.0%

Color previews

#ecc7ff text on a black background

contrast 14.18:1

Card sample

#ecc7ff text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc7ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc7ff in the Color Lab