Skip to content

#cc09fd

a balanced, electric violet · warm · closest name: magenta

RGB
204, 9, 253
HSL
288°, 98%, 51%
CMYK
19, 96, 0, 1
Luminance
0.2012

Every format

HEX#cc09fd
RGBrgb(204, 9, 253)
HSLhsl(288, 98%, 51%)
CMYKcmyk(19%, 96%, 0%, 1%)
LABlab(52.0 90.0 -73.6)
LCHlch(52.0 116.3 320.7)
OKLCHoklch(0.627 0.303 316.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc09fd on white: 4.18:1
AA ✗ fail · AA-large · AAA
Aa
#cc09fd on black: 5.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green3.5%
Blue99.2%

CMYK percentages

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

Color previews

#cc09fd text on a black background

contrast 5.02:1

Card sample

#cc09fd text on a white background

contrast 4.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc09fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc09fd in the Color Lab