Skip to content

#cf9ceb

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

RGB
207, 156, 235
HSL
279°, 66%, 77%
CMYK
12, 34, 0, 8
Luminance
0.4304

Every format

HEX#cf9ceb
RGBrgb(207, 156, 235)
HSLhsl(279, 66%, 77%)
CMYKcmyk(12%, 34%, 0%, 8%)
LABlab(71.6 33.0 -32.5)
LCHlch(71.6 46.4 315.5)
OKLCHoklch(0.768 0.122 313.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf9ceb on white: 2.19:1
AA ✗ fail · AA-large · AAA
Aa
#cf9ceb on black: 9.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green61.2%
Blue92.2%

CMYK percentages

Cyan11.9%
Magenta33.6%
Yellow0.0%
Key (black)7.8%

Color previews

#cf9ceb text on a black background

contrast 9.61:1

Card sample

#cf9ceb text on a white background

contrast 2.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 156, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 156, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cf9ceb;
background: linear-gradient(135deg, #cf9ceb, #EB9CD2);

Monochromatic scale

Palettes built from #cf9ceb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf9ceb in the Color Lab