Skip to content

#ecc2fa

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

RGB
236, 194, 250
HSL
285°, 85%, 87%
CMYK
6, 22, 0, 2
Luminance
0.6332

Every format

HEX#ecc2fa
RGBrgb(236, 194, 250)
HSLhsl(285, 85%, 87%)
CMYKcmyk(6%, 22%, 0%, 2%)
LABlab(83.6 24.6 -21.9)
LCHlch(83.6 33.0 318.3)
OKLCHoklch(0.868 0.088 317.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecc2fa on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#ecc2fa on black: 13.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green76.1%
Blue98.0%

CMYK percentages

Cyan5.6%
Magenta22.4%
Yellow0.0%
Key (black)2.0%

Color previews

#ecc2fa text on a black background

contrast 13.66:1

Card sample

#ecc2fa text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc2fa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc2fa in the Color Lab