Skip to content

#d17df4

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

RGB
209, 125, 244
HSL
282°, 84%, 72%
CMYK
14, 49, 0, 4
Luminance
0.3475

Every format

HEX#d17df4
RGBrgb(209, 125, 244)
HSLhsl(282, 84%, 72%)
CMYKcmyk(14%, 49%, 0%, 4%)
LABlab(65.6 52.0 -46.8)
LCHlch(65.6 70.0 318.0)
OKLCHoklch(0.725 0.185 315.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d17df4 on white: 2.64:1
AA ✗ fail · AA-large · AAA
Aa
#d17df4 on black: 7.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.0%
Green49.0%
Blue95.7%

CMYK percentages

Cyan14.3%
Magenta48.8%
Yellow0.0%
Key (black)4.3%

Color previews

#d17df4 text on a black background

contrast 7.95:1

Card sample

#d17df4 text on a white background

contrast 2.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d17df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d17df4 in the Color Lab