Skip to content

#ccb0fd

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

RGB
204, 176, 253
HSL
262°, 95%, 84%
CMYK
19, 30, 0, 1
Luminance
0.5098

Every format

HEX#ccb0fd
RGBrgb(204, 176, 253)
HSLhsl(262, 95%, 84%)
CMYKcmyk(19%, 30%, 0%, 1%)
LABlab(76.7 25.1 -34.4)
LCHlch(76.7 42.6 306.0)
OKLCHoklch(0.809 0.110 300.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccb0fd on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#ccb0fd on black: 11.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green69.0%
Blue99.2%

CMYK percentages

Cyan19.4%
Magenta30.4%
Yellow0.0%
Key (black)0.8%

Color previews

#ccb0fd text on a black background

contrast 11.20:1

Card sample

#ccb0fd text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccb0fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccb0fd in the Color Lab