Skip to content

#ccabfd

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

RGB
204, 171, 253
HSL
264°, 95%, 83%
CMYK
19, 32, 0, 1
Luminance
0.4906

Every format

HEX#ccabfd
RGBrgb(204, 171, 253)
HSLhsl(264, 95%, 83%)
CMYKcmyk(19%, 32%, 0%, 1%)
LABlab(75.5 27.8 -36.3)
LCHlch(75.5 45.7 307.5)
OKLCHoklch(0.800 0.118 302.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccabfd on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#ccabfd on black: 10.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green67.1%
Blue99.2%

CMYK percentages

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

Color previews

#ccabfd text on a black background

contrast 10.81:1

Card sample

#ccabfd text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccabfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccabfd in the Color Lab