Skip to content

#d47df7

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

RGB
212, 125, 247
HSL
283°, 88%, 73%
CMYK
14, 49, 0, 3
Luminance
0.3538

Every format

HEX#d47df7
RGBrgb(212, 125, 247)
HSLhsl(283, 88%, 73%)
CMYKcmyk(14%, 49%, 0%, 3%)
LABlab(66.0 53.4 -47.7)
LCHlch(66.0 71.6 318.2)
OKLCHoklch(0.730 0.189 315.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red83.1%
Green49.0%
Blue96.9%

CMYK percentages

Cyan14.2%
Magenta49.4%
Yellow0.0%
Key (black)3.1%

Color previews

#d47df7 text on a black background

contrast 8.08:1

Card sample

#d47df7 text on a white background

contrast 2.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d47df7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d47df7 in the Color Lab