Skip to content

#cd7fbc

a light, soft magenta / pink · warm · closest name: plum

RGB
205, 127, 188
HSL
313°, 44%, 65%
CMYK
0, 38, 8, 20
Luminance
0.3179

Every format

HEX#cd7fbc
RGBrgb(205, 127, 188)
HSLhsl(313, 44%, 65%)
CMYKcmyk(0%, 38%, 8%, 20%)
LABlab(63.2 39.1 -19.3)
LCHlch(63.2 43.6 333.7)
OKLCHoklch(0.698 0.124 335.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd7fbc on white: 2.85:1
AA ✗ fail · AA-large · AAA
Aa
#cd7fbc on black: 7.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green49.8%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta38.0%
Yellow8.3%
Key (black)19.6%

Color previews

#cd7fbc text on a black background

contrast 7.36:1

Card sample

#cd7fbc text on a white background

contrast 2.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd7fbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd7fbc in the Color Lab