Skip to content

#cd97df

a light, vivid violet · warm · closest name: plum

RGB
205, 151, 223
HSL
285°, 53%, 73%
CMYK
8, 32, 0, 13
Luminance
0.4044

Every format

HEX#cd97df
RGBrgb(205, 151, 223)
HSLhsl(285, 53%, 73%)
CMYKcmyk(8%, 32%, 0%, 13%)
LABlab(69.8 32.7 -28.7)
LCHlch(69.8 43.5 318.7)
OKLCHoklch(0.752 0.116 317.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd97df on white: 2.31:1
AA ✗ fail · AA-large · AAA
Aa
#cd97df on black: 9.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green59.2%
Blue87.5%

CMYK percentages

Cyan8.1%
Magenta32.3%
Yellow0.0%
Key (black)12.5%

Color previews

#cd97df text on a black background

contrast 9.09:1

Card sample

#cd97df text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd97df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd97df in the Color Lab