Skip to content

#d47df8

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

RGB
212, 125, 248
HSL
282°, 90%, 73%
CMYK
15, 50, 0, 3
Luminance
0.3544

Every format

HEX#d47df8
RGBrgb(212, 125, 248)
HSLhsl(282, 90%, 73%)
CMYKcmyk(15%, 50%, 0%, 3%)
LABlab(66.1 53.6 -48.2)
LCHlch(66.1 72.0 318.0)
OKLCHoklch(0.730 0.190 315.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d47df8 on white: 2.60:1
AA ✗ fail · AA-large · AAA
Aa
#d47df8 on black: 8.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green49.0%
Blue97.3%

CMYK percentages

Cyan14.5%
Magenta49.6%
Yellow0.0%
Key (black)2.7%

Color previews

#d47df8 text on a black background

contrast 8.09:1

Card sample

#d47df8 text on a white background

contrast 2.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d47df8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d47df8 in the Color Lab