Skip to content

#db9cf0

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

RGB
219, 156, 240
HSL
285°, 74%, 78%
CMYK
9, 35, 0, 6
Luminance
0.4513

Every format

HEX#db9cf0
RGBrgb(219, 156, 240)
HSLhsl(285, 74%, 78%)
CMYKcmyk(9%, 35%, 0%, 6%)
LABlab(73.0 37.7 -33.0)
LCHlch(73.0 50.1 318.8)
OKLCHoklch(0.782 0.134 317.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db9cf0 on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#db9cf0 on black: 10.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green61.2%
Blue94.1%

CMYK percentages

Cyan8.8%
Magenta35.0%
Yellow0.0%
Key (black)5.9%

Color previews

#db9cf0 text on a black background

contrast 10.03:1

Card sample

#db9cf0 text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db9cf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db9cf0 in the Color Lab