Skip to content

#ce9df3

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

RGB
206, 157, 243
HSL
274°, 78%, 78%
CMYK
15, 35, 0, 5
Luminance
0.4371

Every format

HEX#ce9df3
RGBrgb(206, 157, 243)
HSLhsl(274, 78%, 78%)
CMYKcmyk(15%, 35%, 0%, 5%)
LABlab(72.0 33.9 -36.2)
LCHlch(72.0 49.5 313.1)
OKLCHoklch(0.772 0.130 309.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green61.6%
Blue95.3%

CMYK percentages

Cyan15.2%
Magenta35.4%
Yellow0.0%
Key (black)4.7%

Color previews

#ce9df3 text on a black background

contrast 9.74:1

Card sample

#ce9df3 text on a white background

contrast 2.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce9df3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce9df3 in the Color Lab