Skip to content

#eccdfa

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

RGB
236, 205, 250
HSL
281°, 82%, 89%
CMYK
6, 18, 0, 2
Luminance
0.6840

Every format

HEX#eccdfa
RGBrgb(236, 205, 250)
HSLhsl(281, 82%, 89%)
CMYKcmyk(6%, 18%, 0%, 2%)
LABlab(86.2 18.8 -18.0)
LCHlch(86.2 26.0 316.2)
OKLCHoklch(0.888 0.069 315.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eccdfa on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#eccdfa on black: 14.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green80.4%
Blue98.0%

CMYK percentages

Cyan5.6%
Magenta18.0%
Yellow0.0%
Key (black)2.0%

Color previews

#eccdfa text on a black background

contrast 14.68:1

Card sample

#eccdfa text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccdfa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccdfa in the Color Lab