Skip to content

#d16df7

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

RGB
209, 109, 247
HSL
284°, 90%, 70%
CMYK
15, 56, 0, 3
Luminance
0.3121

Every format

HEX#d16df7
RGBrgb(209, 109, 247)
HSLhsl(284, 90%, 70%)
CMYKcmyk(15%, 56%, 0%, 3%)
LABlab(62.7 60.5 -53.0)
LCHlch(62.7 80.5 318.8)
OKLCHoklch(0.704 0.212 315.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d16df7 on white: 2.90:1
AA ✗ fail · AA-large · AAA
Aa
#d16df7 on black: 7.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.0%
Green42.7%
Blue96.9%

CMYK percentages

Cyan15.4%
Magenta55.9%
Yellow0.0%
Key (black)3.1%

Color previews

#d16df7 text on a black background

contrast 7.24:1

Card sample

#d16df7 text on a white background

contrast 2.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d16df7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d16df7 in the Color Lab