Skip to content

#cea5df

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

RGB
206, 165, 223
HSL
282°, 48%, 76%
CMYK
8, 26, 0, 13
Luminance
0.4536

Every format

HEX#cea5df
RGBrgb(206, 165, 223)
HSLhsl(282, 48%, 76%)
CMYKcmyk(8%, 26%, 0%, 13%)
LABlab(73.1 25.4 -23.6)
LCHlch(73.1 34.6 317.1)
OKLCHoklch(0.778 0.092 315.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cea5df on white: 2.08:1
AA ✗ fail · AA-large · AAA
Aa
#cea5df on black: 10.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green64.7%
Blue87.5%

CMYK percentages

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

Color previews

#cea5df text on a black background

contrast 10.07:1

Card sample

#cea5df text on a white background

contrast 2.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cea5df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cea5df in the Color Lab