Skip to content

#cc92df

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

RGB
204, 146, 223
HSL
285°, 55%, 72%
CMYK
9, 35, 0, 13
Luminance
0.3872

Every format

HEX#cc92df
RGBrgb(204, 146, 223)
HSLhsl(285, 55%, 72%)
CMYKcmyk(9%, 35%, 0%, 13%)
LABlab(68.5 35.1 -30.6)
LCHlch(68.5 46.6 318.9)
OKLCHoklch(0.743 0.124 317.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc92df on white: 2.40:1
AA ✗ fail · AA-large · AAA
Aa
#cc92df on black: 8.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green57.3%
Blue87.5%

CMYK percentages

Cyan8.5%
Magenta34.5%
Yellow0.0%
Key (black)12.5%

Color previews

#cc92df text on a black background

contrast 8.74:1

Card sample

#cc92df text on a white background

contrast 2.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc92df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc92df in the Color Lab