Skip to content

#ceb2dc

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

RGB
206, 178, 220
HSL
280°, 38%, 78%
CMYK
6, 19, 0, 14
Luminance
0.5013

Every format

HEX#ceb2dc
RGBrgb(206, 178, 220)
HSLhsl(280, 38%, 78%)
CMYKcmyk(6%, 19%, 0%, 14%)
LABlab(76.2 17.7 -17.4)
LCHlch(76.2 24.8 315.5)
OKLCHoklch(0.801 0.066 314.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ceb2dc on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#ceb2dc on black: 11.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green69.8%
Blue86.3%

CMYK percentages

Cyan6.4%
Magenta19.1%
Yellow0.0%
Key (black)13.7%

Color previews

#ceb2dc text on a black background

contrast 11.03:1

Card sample

#ceb2dc text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceb2dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceb2dc in the Color Lab