Skip to content

#cea7df

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

RGB
206, 167, 223
HSL
282°, 47%, 77%
CMYK
8, 25, 0, 13
Luminance
0.4609

Every format

HEX#cea7df
RGBrgb(206, 167, 223)
HSLhsl(282, 47%, 77%)
CMYKcmyk(8%, 25%, 0%, 13%)
LABlab(73.6 24.3 -22.9)
LCHlch(73.6 33.3 316.7)
OKLCHoklch(0.782 0.089 315.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cea7df on white: 2.06:1
AA ✗ fail · AA-large · AAA
Aa
#cea7df on black: 10.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#cea7df text on a black background

contrast 10.22:1

Card sample

#cea7df text on a white background

contrast 2.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cea7df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cea7df in the Color Lab