Skip to content

#ceb2fd

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

RGB
206, 178, 253
HSL
262°, 95%, 85%
CMYK
19, 30, 0, 1
Luminance
0.5205

Every format

HEX#ceb2fd
RGBrgb(206, 178, 253)
HSLhsl(262, 95%, 85%)
CMYKcmyk(19%, 30%, 0%, 1%)
LABlab(77.3 24.6 -33.4)
LCHlch(77.3 41.5 306.3)
OKLCHoklch(0.814 0.107 301.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ceb2fd on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#ceb2fd on black: 11.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green69.8%
Blue99.2%

CMYK percentages

Cyan18.6%
Magenta29.6%
Yellow0.0%
Key (black)0.8%

Color previews

#ceb2fd text on a black background

contrast 11.41:1

Card sample

#ceb2fd text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceb2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceb2fd in the Color Lab