Skip to content

#ecc2ff

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

RGB
236, 194, 255
HSL
281°, 100%, 88%
CMYK
8, 24, 0, 0
Luminance
0.6364

Every format

HEX#ecc2ff
RGBrgb(236, 194, 255)
HSLhsl(281, 100%, 88%)
CMYKcmyk(8%, 24%, 0%, 0%)
LABlab(83.8 25.6 -24.4)
LCHlch(83.8 35.3 316.4)
OKLCHoklch(0.870 0.094 315.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecc2ff on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#ecc2ff on black: 13.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green76.1%
Blue100.0%

CMYK percentages

Cyan7.5%
Magenta23.9%
Yellow0.0%
Key (black)0.0%

Color previews

#ecc2ff text on a black background

contrast 13.73:1

Card sample

#ecc2ff text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc2ff in the Color Lab