Skip to content

#db9af0

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

RGB
219, 154, 240
HSL
285°, 74%, 77%
CMYK
9, 36, 0, 6
Luminance
0.4446

Every format

HEX#db9af0
RGBrgb(219, 154, 240)
HSLhsl(285, 74%, 77%)
CMYKcmyk(9%, 36%, 0%, 6%)
LABlab(72.5 38.8 -33.7)
LCHlch(72.5 51.3 319.0)
OKLCHoklch(0.779 0.137 317.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db9af0 on white: 2.12:1
AA ✗ fail · AA-large · AAA
Aa
#db9af0 on black: 9.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green60.4%
Blue94.1%

CMYK percentages

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

Color previews

#db9af0 text on a black background

contrast 9.89:1

Card sample

#db9af0 text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db9af0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db9af0 in the Color Lab