Skip to content

#cc6df7

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

RGB
204, 109, 247
HSL
281°, 90%, 70%
CMYK
17, 56, 0, 3
Luminance
0.3049

Every format

HEX#cc6df7
RGBrgb(204, 109, 247)
HSLhsl(281, 90%, 70%)
CMYKcmyk(17%, 56%, 0%, 3%)
LABlab(62.1 59.3 -54.0)
LCHlch(62.1 80.2 317.7)
OKLCHoklch(0.698 0.210 314.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green42.7%
Blue96.9%

CMYK percentages

Cyan17.4%
Magenta55.9%
Yellow0.0%
Key (black)3.1%

Color previews

#cc6df7 text on a black background

contrast 7.10:1

Card sample

#cc6df7 text on a white background

contrast 2.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc6df7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc6df7 in the Color Lab