Skip to content

#cea6df

a light, vivid violet · warm · closest name: plum

RGB
206, 166, 223
HSL
282°, 47%, 76%
CMYK
8, 26, 0, 13
Luminance
0.4572

Every format

HEX#cea6df
RGBrgb(206, 166, 223)
HSLhsl(282, 47%, 76%)
CMYKcmyk(8%, 26%, 0%, 13%)
LABlab(73.4 24.8 -23.2)
LCHlch(73.4 34.0 316.9)
OKLCHoklch(0.780 0.090 315.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cea6df on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#cea6df on black: 10.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green65.1%
Blue87.5%

CMYK percentages

Cyan7.6%
Magenta25.6%
Yellow0.0%
Key (black)12.5%

Color previews

#cea6df text on a black background

contrast 10.14:1

Card sample

#cea6df text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 166, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 166, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cea6df;
background: linear-gradient(135deg, #cea6df, #DFA6CA);

Monochromatic scale

Palettes built from #cea6df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cea6df in the Color Lab