Skip to content

#d16cf0

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

RGB
209, 108, 240
HSL
286°, 82%, 68%
CMYK
13, 55, 0, 6
Luminance
0.3057

Every format

HEX#d16cf0
RGBrgb(209, 108, 240)
HSLhsl(286, 82%, 68%)
CMYKcmyk(13%, 55%, 0%, 6%)
LABlab(62.1 59.6 -50.0)
LCHlch(62.1 77.8 320.0)
OKLCHoklch(0.699 0.207 317.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d16cf0 on white: 2.95:1
AA ✗ fail · AA-large · AAA
Aa
#d16cf0 on black: 7.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.0%
Green42.4%
Blue94.1%

CMYK percentages

Cyan12.9%
Magenta55.0%
Yellow0.0%
Key (black)5.9%

Color previews

#d16cf0 text on a black background

contrast 7.11:1

Card sample

#d16cf0 text on a white background

contrast 2.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d16cf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d16cf0 in the Color Lab