Skip to content

#ce9def

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

RGB
206, 157, 239
HSL
276°, 72%, 78%
CMYK
14, 34, 0, 6
Luminance
0.4347

Every format

HEX#ce9def
RGBrgb(206, 157, 239)
HSLhsl(276, 72%, 78%)
CMYKcmyk(14%, 34%, 0%, 6%)
LABlab(71.9 33.0 -34.3)
LCHlch(71.9 47.6 313.9)
OKLCHoklch(0.771 0.125 311.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce9def on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#ce9def on black: 9.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green61.6%
Blue93.7%

CMYK percentages

Cyan13.8%
Magenta34.3%
Yellow0.0%
Key (black)6.3%

Color previews

#ce9def text on a black background

contrast 9.69:1

Card sample

#ce9def text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce9def

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce9def in the Color Lab