Skip to content

#cc99df

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

RGB
204, 153, 223
HSL
284°, 52%, 74%
CMYK
9, 31, 0, 13
Luminance
0.4095

Every format

HEX#cc99df
RGBrgb(204, 153, 223)
HSLhsl(284, 52%, 74%)
CMYKcmyk(9%, 31%, 0%, 13%)
LABlab(70.1 31.3 -28.2)
LCHlch(70.1 42.1 318.0)
OKLCHoklch(0.755 0.112 316.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc99df on white: 2.29:1
AA ✗ fail · AA-large · AAA
Aa
#cc99df on black: 9.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green60.0%
Blue87.5%

CMYK percentages

Cyan8.5%
Magenta31.4%
Yellow0.0%
Key (black)12.5%

Color previews

#cc99df text on a black background

contrast 9.19:1

Card sample

#cc99df text on a white background

contrast 2.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc99df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc99df in the Color Lab