Skip to content

#ceb8fd

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

RGB
206, 184, 253
HSL
259°, 95%, 86%
CMYK
19, 27, 0, 1
Luminance
0.5449

Every format

HEX#ceb8fd
RGBrgb(206, 184, 253)
HSLhsl(259, 95%, 86%)
CMYKcmyk(19%, 27%, 0%, 1%)
LABlab(78.8 21.3 -31.2)
LCHlch(78.8 37.8 304.3)
OKLCHoklch(0.825 0.098 298.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ceb8fd on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#ceb8fd on black: 11.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green72.2%
Blue99.2%

CMYK percentages

Cyan18.6%
Magenta27.3%
Yellow0.0%
Key (black)0.8%

Color previews

#ceb8fd text on a black background

contrast 11.90:1

Card sample

#ceb8fd text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceb8fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceb8fd in the Color Lab