Skip to content

#ccb9fd

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

RGB
204, 185, 253
HSL
257°, 94%, 86%
CMYK
19, 27, 0, 1
Luminance
0.5463

Every format

HEX#ccb9fd
RGBrgb(204, 185, 253)
HSLhsl(257, 94%, 86%)
CMYKcmyk(19%, 27%, 0%, 1%)
LABlab(78.8 20.1 -31.1)
LCHlch(78.8 37.0 302.9)
OKLCHoklch(0.825 0.096 297.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green72.5%
Blue99.2%

CMYK percentages

Cyan19.4%
Magenta26.9%
Yellow0.0%
Key (black)0.8%

Color previews

#ccb9fd text on a black background

contrast 11.93:1

Card sample

#ccb9fd text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccb9fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccb9fd in the Color Lab