Skip to content

#d16df4

a light, electric violet · warm · closest name: violet

RGB
209, 109, 244
HSL
284°, 86%, 69%
CMYK
14, 55, 0, 4
Luminance
0.3102

Every format

HEX#d16df4
RGBrgb(209, 109, 244)
HSLhsl(284, 86%, 69%)
CMYKcmyk(14%, 55%, 0%, 4%)
LABlab(62.5 59.9 -51.6)
LCHlch(62.5 79.1 319.3)
OKLCHoklch(0.702 0.209 316.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d16df4 on white: 2.91:1
AA ✗ fail · AA-large · AAA
Aa
#d16df4 on black: 7.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.0%
Green42.7%
Blue95.7%

CMYK percentages

Cyan14.3%
Magenta55.3%
Yellow0.0%
Key (black)4.3%

Color previews

#d16df4 text on a black background

contrast 7.20:1

Card sample

#d16df4 text on a white background

contrast 2.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(209, 109, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(209, 109, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d16df4;
background: linear-gradient(135deg, #d16df4, #F46DBD);

Monochromatic scale

Palettes built from #d16df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d16df4 in the Color Lab