Skip to content

#cc7fdb

a light, vivid magenta / pink · warm · closest name: orchid

RGB
204, 127, 219
HSL
290°, 56%, 68%
CMYK
7, 42, 0, 14
Luminance
0.3313

Every format

HEX#cc7fdb
RGBrgb(204, 127, 219)
HSLhsl(290, 56%, 68%)
CMYKcmyk(7%, 42%, 0%, 14%)
LABlab(64.3 44.5 -35.0)
LCHlch(64.3 56.6 321.8)
OKLCHoklch(0.710 0.153 320.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc7fdb on white: 2.75:1
AA ✗ fail · AA-large · AAA
Aa
#cc7fdb on black: 7.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green49.8%
Blue85.9%

CMYK percentages

Cyan6.8%
Magenta42.0%
Yellow0.0%
Key (black)14.1%

Color previews

#cc7fdb text on a black background

contrast 7.63:1

Card sample

#cc7fdb text on a white background

contrast 2.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc7fdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc7fdb in the Color Lab