Skip to content

#ce9df1

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

RGB
206, 157, 241
HSL
275°, 75%, 78%
CMYK
15, 35, 0, 6
Luminance
0.4359

Every format

HEX#ce9df1
RGBrgb(206, 157, 241)
HSLhsl(275, 75%, 78%)
CMYKcmyk(15%, 35%, 0%, 6%)
LABlab(72.0 33.4 -35.2)
LCHlch(72.0 48.6 313.5)
OKLCHoklch(0.771 0.127 310.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce9df1 on white: 2.16:1
AA ✗ fail · AA-large · AAA
Aa
#ce9df1 on black: 9.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green61.6%
Blue94.5%

CMYK percentages

Cyan14.5%
Magenta34.9%
Yellow0.0%
Key (black)5.5%

Color previews

#ce9df1 text on a black background

contrast 9.72:1

Card sample

#ce9df1 text on a white background

contrast 2.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce9df1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce9df1 in the Color Lab