Skip to content

#cc6df6

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

RGB
204, 109, 246
HSL
282°, 88%, 70%
CMYK
17, 56, 0, 4
Luminance
0.3043

Every format

HEX#cc6df6
RGBrgb(204, 109, 246)
HSLhsl(282, 88%, 70%)
CMYKcmyk(17%, 56%, 0%, 4%)
LABlab(62.0 59.1 -53.6)
LCHlch(62.0 79.8 317.8)
OKLCHoklch(0.698 0.209 314.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc6df6 on white: 2.96:1
AA ✗ fail · AA-large · AAA
Aa
#cc6df6 on black: 7.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green42.7%
Blue96.5%

CMYK percentages

Cyan17.1%
Magenta55.7%
Yellow0.0%
Key (black)3.5%

Color previews

#cc6df6 text on a black background

contrast 7.09:1

Card sample

#cc6df6 text on a white background

contrast 2.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc6df6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc6df6 in the Color Lab