Skip to content

#ce9fec

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

RGB
206, 159, 236
HSL
277°, 67%, 78%
CMYK
13, 33, 0, 8
Luminance
0.4397

Every format

HEX#ce9fec
RGBrgb(206, 159, 236)
HSLhsl(277, 67%, 78%)
CMYKcmyk(13%, 33%, 0%, 8%)
LABlab(72.2 31.3 -32.1)
LCHlch(72.2 44.8 314.3)
OKLCHoklch(0.773 0.118 311.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce9fec on white: 2.14:1
AA ✗ fail · AA-large · AAA
Aa
#ce9fec on black: 9.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green62.4%
Blue92.5%

CMYK percentages

Cyan12.7%
Magenta32.6%
Yellow0.0%
Key (black)7.5%

Color previews

#ce9fec text on a black background

contrast 9.79:1

Card sample

#ce9fec text on a white background

contrast 2.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce9fec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce9fec in the Color Lab